
VS 2005
flyingxu
这个作者很懒,什么都没留下…
展开
-
VS2005编译器的一点改进 之 函数指针
class CInsLibrary {public: CInsLibrary(){;} virtual ~CInsLibrary(){;}public: void Func(int i){;}};typedef void (CInsLibrary::*PFUNC)(int );//main.cpp PFUNC pp = CInsLibrary::Func;原创 2005-05-13 23:10:00 · 1575 阅读 · 1 评论 -
CWinApp::Enable3dControls 在VS2005中也不支持了
在VS2005中,CWinApp::InitInstance里变化还是挺大的从VC6升级上的程序,要改一下,才能运行基本上把 AfxEnableControlContainer(); // Standard initialization // If you are not using these features and wish to reduce the size // of your fi原创 2005-05-14 17:13:00 · 1430 阅读 · 0 评论 -
VS2005编译器的改进后,有些可能引起内存越界的函数不被推荐了
char c[10]; strcpy(c, "testtestts"); //ok with VC6, but not in VS2005 strcpy_s(c, _countof(c),"testtestt");//9 chars, ok in VS2005 strcpy_s(c, _countof(c),"testtestte");//10 chars, assert!!!!! in VS20原创 2005-05-14 00:20:00 · 1330 阅读 · 0 评论 -
VS 2005 可以下载了
http://community.youkuaiyun.com/Expert/topic/4358/4358827.xml原创 2005-10-29 22:25:00 · 1430 阅读 · 2 评论