Date: Sun, 26 Sep 1999 13:38:50 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Ian cc: djgpp AT delorie DOT com Subject: Re: Problem with C++ libraries in djgpp In-Reply-To: <7sklom$aug$1@winter.news.rcn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 26 Sep 1999, Ian wrote: > # inlcude > > main() > { > cout << "hello" << endl; > } > > When I tried to run it, I recieved what seems to be about 100 errors relating > to the syntax of iostream.h and the libraries that it calls. These include > parse errors, undefined variables, and conflicting types for some variables. > It seems that there is something wrong with the libraries that came with > djgpp. No, it's most probably your own usage errors. The DJGPP FAQ list explains in sections 8.2 and 8.4 some common cases for similar problems. If you can't figure it out, please post here the exact command line that you used to compile your program, and somebody will help you out.