帮个忙!
刚刚自学c++,在用CTime类时不怎么清楚,#include<iostream.h>
#include<afx.h>
void main()
{
CTime Today=CTime::GetCurrentTime();
cout<<Today.Format("%A,%B%d,%Y");
}
错误提示为:
--------------------Configuration: Test - Win32 Debug--------------------
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.
怎么回事???