摘要:
#include <iostream>using namespace std;// 定义了一种函数指针类型callBacktypedef int (*callBack)(int, int); int myTest(int a, int b){ cout<<a<<"/t"<<b<<endl; return 0;}void TestCallBack(callBack my){ int a = 1; int b = 1; if(my != NULL) my(a,b); return;}int main(){ callBa 阅读全文
posted @ 2009-03-08 16:09
小 楼 一 夜 听 春 雨
阅读(143)
评论(0)
推荐(0)

浙公网安备 33010602011771号