请求强烈帮助我的C++的人编译问题,困扰已久啊
发表于 : 2005-11-01 5:11
我每次用命令g++ (文件命) 编译的时候,都会出现以下错误
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from 2.cc:1:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
然后我调用a.out查看结果,总是不能看到,真的是很困惑哦,请求大家帮助,谢谢.
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from 2.cc:1:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
然后我调用a.out查看结果,总是不能看到,真的是很困惑哦,请求大家帮助,谢谢.