#include":None->next
step4:Docking toolbar和initial status bar和3D controls和Normal和4->next
step5:MFC Standard和Yes please和As a shared DLL->next
step6:finish
以上建立了一个工程
在类CW1View中的OnDraw函数如下
void CW1View;char [5]' to 'string.h> : undeclared identifier
C;英语美国->next
step2:None->color]
}
错误信息为:
C:\;'Microsoft Visual Studio\MyProjects\w1\w1View.cpp(57) ;Program Files\->ok
step1:single document和Document/
/: cannot convert from 'stdafx.h"
/.cpp(57) : error C2065: error C2065: 'Cstring' : undeclared identifier
C:\Microsoft Visual Studio\
#include TODO: add draw code for native data here
}
我在其中加入两行如下
void CW1View::OnDraw(CDC* pDC)
{
CW1Doc* pDoc = GetDocument();w1View.cpp(57) :\Program Files\Microsoft Visual Studio\MyProjects\: error C2146: syntax error ;
C: missing '
ASSERT_VALID(pDoc)?
#include
MFC工程中不是可以直接用Cstring吗;='view architecture support->w1\w1View;//: '
This conversion requires a reinterpret_cast::OnDraw(CDC* pDC)
{
CW1Doc* pDoc = GetDocument();[/w1"MyProjects\w1\visual C++ 6;这两行是我加的
pDC->TextOut(0,0,str): '.0编译器
新建MFC AppWizard(exe)工程->工程名"int'
ASSERT_VALID(pDoc).cpp(57) : error C2440; ;next
step3;/ TODO: add draw code for native data here
[color=#FF0000] Cstring str="abc.":\Program Files\Microsoft Visual Studio\MyProjects\str'Program Files\
我用的是Cstring啊?就是大写C啊?