1.vc++6.0 MFC写的程序,用vc2005直接打开后,出现以下错误,请问谁知道是为什么?网上查了些都说是设置的问题,但自己找了办天也没找到应该怎么设置,请高手指教?
2.另外vc2005中 'iostream.h '不能用吗?为什么?
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
d:\机密数据\vc2005认证移植\caims2007-07-06-15\GetHardDisk.h(13) : fatal error C1083: Cannot open include file: 'iostream.h ': No such file or directory
DlgUser.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgTimeSelect.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgTime.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgShow.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgLike.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgAtt.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
d:\机密数据\vc2005认证移植\caims2007-07-06-15\IniFile.h(16) : fatal error C1083: Cannot open include file: 'iostream.h ': No such file or directory
DIBDC.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\release\DlgAtt.sbr ': No such file or directory
Build log was saved at "file://d:\机密数据\vc2005认证移植\CAIMS2007-07-06-15\Release\BuildLog.htm "
FDNDBMS - 7 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
------解决方案--------------------------------------------------------
ding
------解决方案--------------------------------------------------------
将#include "iostream.h "修改为以下两句
#include "iostream "
using namespace std;
------解决方案--------------------------------------------------------
vs2005中没有iostream.h这个文件
#include <iostream>
using namespace std;
另外在stdafx.h中
#define WINVER 0x0502
------解决方案--------------------------------------------------------
上面两人说的很对
------解决方案--------------------------------------------------------
vs2005中没有iostream.h这个文件
#include <iostream>
using namespace std;