2019年2月18日

c++中函数指针作为int传递

摘要: int f() { return 0; } typedef int (*method)(); int _tmain(int argc, _TCHAR* argv[]) { int value = (int)&f; std::cout >a; return 0; } 阅读全文

posted @ 2019-02-18 17:05 空明流光 阅读(493) 评论(0) 推荐(0)

导航