提问:VC++6.0用MFC作图出现Debug Assertion Failed
在C++书上抄的代码,编译没错,运行时出现
Debug Assertion Failed!
Program:F:\vc++\MSDev98\MyProjects\绘图\Debug\绘图.exe
Files:bartool.cpp
Line:1385
For information on how your program can cause an assertion failure,see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
请高手帮忙看一下
我希望知道出错的原因,怎么修改?
回答:
程序没有病!
你把Debug目录删除了.
再编译一次就好了!
我把好用的东西给你发回去了!