From: Tron Newsgroups: comp.os.msdos.djgpp Subject: Re: Install/compile woes. W95, Djjgpp v2 Date: Tue, 5 May 1998 15:51:10 +0100 Organization: Instituto Superior Tecnico Lines: 28 Message-ID: References: <3548DA54 DOT 17DC19AC AT bc DOT sympatico DOT ca> NNTP-Posting-Host: alfa.ist.utl.pt Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <3548DA54.17DC19AC@bc.sympatico.ca> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Thu, 30 Apr 1998, ed toivanen wrote: > Hi, > > I set the path to c:\djgpp\bin, and set DJGPP=c:\djgpp\djgpp.env. I can > compile C programs fine, but when doing a basic hello program in cpp, I > get error messages. > > #include > int main(void){ > > cout << "Hello." << endl; > > return (0); > } > Any ideas? heres one... try to rename the file to main.cc and compile it... gcc doesnt compile files.cpp but theres no problem with files.cc this for C++ bye... ------------------------------------------- end of line.