From: Elliott Oti Newsgroups: comp.os.msdos.djgpp Subject: Re: EASY QUESTION REQUIRES ANSWER! Date: Sat, 23 Nov 1996 00:41:06 -0800 Organization: Academic Computer Centre Utrecht, (ACCU) Lines: 19 Message-ID: <3296B8A2.54C5@stud.warande.ruu.nl> References: <3296B05D DOT 76FF AT nlci DOT com> NNTP-Posting-Host: warande1078.warande.ruu.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Timothy M. Barnes" DJ-Gateway: from newsgroup comp.os.msdos.djgpp Timothy M. Barnes wrote: > > I admit it, I am a newbie to DJGPP... > > I recently installed the compiler on my windows 95 system. Everything > seemed to be working fine until I tried to use the much needed iostream > library. I didn't touch anything from the setup. I have no problems > including the iostream.h, but the compiler won't even accept: > > cout << "Hello!"; > > Anyone know what the problem is? "cout" is undefined! Any help greatly > appreciated. > Compile with gxx instead of gcc; gxx knows where to find the C++ libraries. With gcc you have to specify the C++ libs directly on the command line. Elliott