From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Why doesn't C++ work!?!?! Date: Thu, 03 Sep 1998 19:31:55 -0300 Organization: NBTel Internet Lines: 20 Message-ID: <35EF18DB.100895D5@unb.ca> References: <35EF0D07 DOT DC9983E1 AT sandia DOT gov> NNTP-Posting-Host: fctnts12c17.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jason wrote: > > Hey guys: > > I have not been able to get any C++ programs compiled - and on the DJGPP > website, it says that gcc should know what to to with the file according > to the file's extenstion. I tried to compile a simple C++ program that > couts one line (it looks like this): Use 'gxx' to compile. > What I get from this is it's not even recognizing the 'cout' command! > gcc works perfectly fine with C sources (*.c), but it has this same > problem with *.cpp and *.C . Anyone else had this problem? Help me! > :O) 'cout' is not a command, it is a variable. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca