Newsgroups: comp.lang.c++,comp.os.msdos.djgpp From: Manfred Heumann Subject: Re: CIN COUT Sender: news AT hermes DOT hrz DOT uni-bielefeld DOT de (News Administrator) Message-ID: Date: Wed, 5 Mar 1997 15:08:42 GMT References: <331BC0D5 DOT 5CB AT aracnet DOT com> Nntp-Posting-Host: dee.hrz.uni-bielefeld.de Organization: Universitaet Bielefeld, Rechenzentrum Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In comp.os.msdos.djgpp Brian wrote: > Can Someone please tell me what is wrong with the following program. > I try to compile it on djgpp but I get 'undeclared' or something error. > Maybe I don't have the right iostream.h file? > #include > main() > { > cout << "Hello, World"; > } > Thanks in advance. - bardito AT aracnet DOT com Hi Brian. As your program is a c++ program, you have to compile it using gxx. I am not familiar with rhide, but I guess you have to change an optio there, so it will use gxx. Otherwise just go to the commandline and type gxx hello.cpp and it should do the job (if hello is the name of your program). Good luck, -- Manni Heumann e-mail: mheumann AT post DOT uni-bielefeld DOT de