使用iostream进行编译时出现异常错误?

时间:2014-11-04 19:54:25

标签: c++ compiler-errors visual-c++-2010

所以,如果我添加iostream(VS 2010快递)我会收到这些错误,在google上找不到太多,任何想法,都不习惯这样,我有这个......

#include "stdafx.h"
#include <iostream>

int _tmain(int argc, _TCHAR* argv[])
{
    return 0;
}

当我尝试构建时,收到以下错误消息:

------ Rebuild All started: Project: test, Configuration: Debug Win32 ------
  stdafx.cpp
  test.cpp
c:\program files\microsoft visual studio 10.0\vc\include\utility(535): error C2039: 'get' : is not a member of 'std::tr1'
c:\program files\microsoft visual studio 10.0\vc\include\utility(535): error C2873: 'get' : symbol cannot be used in a using-declaration
c:\program files\microsoft visual studio 10.0\vc\include\utility(536): error C2039: 'tuple_element' : is not a member of 'std::tr1'
c:\program files\microsoft visual studio 10.0\vc\include\utility(536): error C2873: 'tuple_element' : symbol cannot be used in a using-declaration
c:\program files\microsoft visual studio 10.0\vc\include\utility(537): error C2039: 'tuple_size' : is not a member of 'std::tr1'
c:\program files\microsoft visual studio 10.0\vc\include\utility(537): error C2873: 'tuple_size' : symbol cannot be used in a using-declaration
c:\program files\microsoft visual studio 10.0\vc\include\ios(236): error C2039: 'hexfloat' : is not a member of 'std::tr1'
c:\program files\microsoft visual studio 10.0\vc\include\ios(236): error C2873: 'hexfloat' : symbol cannot be used in a using-declaration
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

0 个答案:

没有答案