摘要:
#include typedef void (*fun)(int); fun p = NULL; //回调函数---提供给应用的一个解决方案 void callback(int a) { cout << "callback result = " << a << endl; } //通过调用函数指针,具体采用我方的解决方案解决问题 void caller(fun pCallba... 阅读全文
posted @ 2018-06-20 09:20
唯一诺
阅读(128)
评论(0)
推荐(0)

浙公网安备 33010602011771号