關於回調函數的例子

最近和同事討論C++和C的區別的事情,說到C++裏面有不少的回調函數,就本身實現了一個簡單的回調函數的Demo,省得本身忘記回調函數的用法函數 #include <stdio.h>回調函數 //此爲註冊回調函數 io typedef int (*callback)( unsigned char para );function //此爲回調函數的執行 call int functionCallBac
相關文章
相關標籤/搜索