初学者问题(一)重谢
小弟刚学VC,碰到一基础问题:
这是原代码,是将HELLO WORLD !这个单词显示在窗口上:
void CHelloMFCView::OnDraw(CDC* pDC)
{
CHelloMFCDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
pDC->TextOut(0,0, "hello world!");
}
编译时出现的错误信息:
--------------------Configuration: helloMFC - Win32 Debug--------------------
Compiling...
helloMFCView.cpp
d:\program files\microsoft visual studio\myprojects\hellomfc\hellomfcview.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/helloMFC.pch': No such file or directory
Error executing cl.exe.
helloMFCView.obj - 1 error(s), 0 warning(s)
在BUILD后提示的错误休息:
--------------------Configuration: helloMFC - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
helloMFC.cpp
D:\Program Files\Microsoft Visual Studio\MyProjects\helloMFC\helloMFC.cpp(43) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
MainFrm.cpp
helloMFCDoc.cpp
helloMFCView.cpp
Generating Code...
Error executing cl.exe.
helloMFC.exe - 1 error(s), 0 warning(s)
我将如何进行修改这些错误,为什么为出现这些错误呢??