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]

Comiling C++ programs


I am unable to compile C++ program containing standard inpuut/output  statements like following simple statements:

cout << " Hello world\n"
cin  >> avariable

For some reasons the compiler is not recognising cout/cin even though <iostream.h> file has been included. I guess I am commiting some basin mistake. An early tip will be highly appreciated.

Regard
Awadhesh

---------------------------------------------------------------------------------------------------------------
Awadhesh Prasad
Cap Management Engineer
Murray Darling Basin Commission, GPO Box 409, Canberra, ACT 2601
Tel: +61 (2) 62790144, Fax: +61 (2) 62488053
Web site: http://www.mdbc.gov.au/
---------------------------------------------------------------------------------------------------------------


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