Comiling C++ programs

Awadhesh Prasad Awadhesh.Prasad@mdbc.gov.au
Sun Aug 5 21:36:00 GMT 2001


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/
---------------------------------------------------------------------------------------------------------------



More information about the Gcc-help mailing list