This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

can't include iostream.h


Hello ... 

i am using Ubuntu Linux , i tried to use GCC to compile some C/C++ codes ,
but the first problem showed for me is "t.c:1:22: error: iostream.h: No such
file or directory" and when i do g++ test1.c it's show for me this problem 

In file included from /usr/include/c++/4.0.2/backward/iostream.h:31,
                 from t.c:1:
/usr/include/c++/4.0.2/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 <iostream> instead of the deprecated header
<iostream.h>. To disable this warning use -Wno-deprecated.
--
View this message in context: http://www.nabble.com/can%27t-include-iostream.h-t1445505.html#a3904195
Sent from the gcc - Help forum at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]