售后服务信息反馈表:c++问题,照书写的,调了一天,还有四个问题,帮忙呀

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/07 03:14:20
#include "MainFrm.h"
#include "stdafx.h"
#include "5002.h"
#include "5002Doc.h"
#include "5002View.h"
#include "resource.h"
static THIS_FILE[]=__FILE__***************************

#ifdef _DEBUG
#define new DEBUG_NEW;
#undef THIS_FILE

#endif
Deleting intermediate files and output files for project '5002 - Win32 Debug'.
--------------------Configuration: 5002 - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
5002.cpp
D:\Program Files\Microsoft Visual Studio\MyProjects\5002\5002.cpp(11) : error C2143: syntax error : missing ';' before 'string'
D:\Program Files\Microsoft Visual Studio\MyProjects\5002\5002.cpp(11) : fatal error C1004: unexpected end of file found
5002Doc.cpp
5002View.cpp
d:\program files\microsoft visual studio\vc98\include\math.h(36) : error C2143: syntax error : missing ';' before 'string'
d:\program files\microsoft visual studio\vc98\include\math.h(36) : fatal error C1004: unexpected end of file found
MainFrm.cpp
Generating Code...
Error executing cl.exe.

5002.exe - 4 error(s), 0 warning(s)

在最后一个#include后加一行:using namespace std 再编译试试?

字面上的提示是2处丢了“;”,2处丢了“}”

修改路径,ALT+O