在构建测试CStrings的程序期间出现致命错误C1083

时间:2015-11-16 09:04:46

标签: c++ visual-studio

我正在尝试探索我公司测试计划中广泛使用的CString数据类型。

以下是代码:

#include <iostream>
#include <string>
#include <afx.h>

using namespace std;

int main()
{
    CString cs("meow");
    wcout << cs << endl;
    return 0;
}

上面的代码编译为0错误。但是,当我尝试构建它时,我收到以下错误。

fatal error C1083: Cannot open include file: 'atlstr': No such file or directory

我正在使用Visual C ++ 6标准版进行开发。

请注意我公司的测试程序可以编译并运行良好,我没有得到上述错误。

我可以在哪里下载atlstr包含文件吗?

0 个答案:

没有答案