请教各位高手
#include<iostream.h>#include<afxwin.h> //mfc standarded lib
void main()
{
int i=0;
CString str;
str.Format("%d",i);
cout<<str;
}
编译结果
--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/test.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
test.exe - 3 error(s), 0 warning(s)
请问这是怎么回事。
MFC标准库不能用吗?