摘要: #include "stdafx.h"#include <iostream>using namespace std;class Test{public: void CallBack(char* args) { cout<<args<<endl; }};int _tmain(int argc, _TCHAR* argv[]){ typedef (Test::*lpCallBack)(char* args); //取得函数地址 //VC8可能要改为lpCallBack func = (lpCallBack)&Test::CallBac 阅读全文
posted @ 2013-02-01 09:33 我的程序人生 阅读(134) 评论(0) 推荐(0) 编辑