一点小麻烦!!!
ml457 2002-02-19 09:26:08 我写了一个很小很小的程序,如下所示:我先建立了一个空工程(Win32 Application),打开"an empty project"后,在VC的IDE中,打开文本编辑器。输入以下内容:
#include "windows.h"
#include "StdAfx.h"
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
{
MessageBox (NULL, TEXT ("你好,新年好!"), TEXT ("欢迎"), 0) ;
return 0 ;
}
但编译器报错:fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory
且仅这一个错误,不知为什么??是不是编译器有问题??请大家指教.