Chinaunix
标题:
帮忙。。。。
[打印本页]
作者:
Allen1981
时间:
2003-08-16 14:03
标题:
帮忙。。。。
想在VC中的Dos程序里用MFC的那一套东西和API调用,但是。。。。。。
#include <afx.h>;
#include <iostream.h>;
int main()
{
char szFileName[225];
cout<<"
lease enter the file name to be backed up:\n";
cin>;>;szFileName;
return 0;
}
就出现错误了
我已经设置了Release 和 Debug里的Multithread和Debug Multithread
错误信息: afxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in libcpmtd.lib(delop.obj)
Debug/1.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2