C++
C++ 如何使用
map<string,pFunc>
pFunc 代表的是函数指针.
void (*func)(int ,int);
必须要使用typedef void (*func)(int ,int); 才能作为map的第二个参数
posted @ 2014-07-11 22:36 Practicer.. 阅读(141) 评论(0) 推荐(0) 编辑
C++ 如何使用
map<string,pFunc>
pFunc 代表的是函数指针.
void (*func)(int ,int);
必须要使用typedef void (*func)(int ,int); 才能作为map的第二个参数
posted @ 2014-07-11 22:36 Practicer.. 阅读(141) 评论(0) 推荐(0) 编辑
posted @ 2014-04-23 07:48 Practicer.. 阅读(329) 评论(0) 推荐(0) 编辑
posted @ 2014-04-15 09:32 Practicer.. 阅读(153) 评论(0) 推荐(0) 编辑
posted @ 2014-04-12 22:39 Practicer.. 阅读(216) 评论(0) 推荐(0) 编辑
posted @ 2014-04-03 22:40 Practicer.. 阅读(148) 评论(0) 推荐(0) 编辑
posted @ 2014-03-27 17:39 Practicer.. 阅读(134) 评论(0) 推荐(0) 编辑
posted @ 2014-03-20 09:39 Practicer.. 阅读(102) 评论(0) 推荐(0) 编辑