ranjit bhonsle wrote:
Hello all,
Why does the gcc compiler give a lot of errors when using
iostream.h as a header file? Including iostream causes the
compiler to complain about cout and cin not being declared.
That is what the header file is supposed to provide.
I am a newbee where programming is concerned.
somebody had asked this query on the list and recieved no
reply, so I tried it.
The same source file compiles nicely on DevC++ on win with
warning about deprecated header file.
Even using Wno-deprecated does not compile.
Also on FC3 single quotation and double quotation does not
print to screen.
What gives?
Thanks in advance for any suggestion.

Well.. use #include <iostream>

A little find in /usr/include/c++/<version> could have helped..

 Shridhar
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to