摘要:
写了个小程序,通过一个指针调用类的方法,结果,指针为空,调用类的方法却成功了,c++也太严格了,汗颜。#include class testClass { public: int init(){ std::coutinit();return 0;} 阅读全文
posted @ 2013-09-27 21:01
远行的帆
阅读(775)
评论(0)
推荐(0)
|
摘要:
写了个小程序,通过一个指针调用类的方法,结果,指针为空,调用类的方法却成功了,c++也太严格了,汗颜。#include class testClass { public: int init(){ std::coutinit();return 0;} 阅读全文
posted @ 2013-09-27 21:01
远行的帆
阅读(775)
评论(0)
推荐(0)
|