我每次用命令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查看结果,总是不能看到,真的是很困惑哦,请求大家帮助,谢谢.
请求强烈帮助我的C++的人编译问题,困扰已久啊
-
- 帖子: 2
- 注册时间: 2005-11-01 5:03
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
-
- 帖子: 9
- 注册时间: 2005-09-28 1:38
- 来自: linux公社
- 联系:
哈哈,又一个不知道标准模板库的
标准模板库是不久之前(哪一年)才达成一致的。以后看书一定要注意,里面有没有提到标准模板库,如果没有提到。那么,几乎就可以肯定地说,这本书作废了。