Date: Thu, 26 Sep 1996 09:25:08 +0200 (IST) From: Eli Zaretskii To: Born Naughty Cc: djgpp AT delorie DOT com Subject: Re: Compiling C++ program... In-Reply-To: <01bbab47$e53b0a20$ee191bca@leemeng.cyberway.com.sg> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 25 Sep 1996, Born Naughty wrote: > I've got djgpp installed, compiling C program is ok, but when I compiled > the helloworld program using ... I've got error messages not > understanding what > cout is all about.. It is usually useful to post the error message(s) you get. > how do I compile a C++ program without appending the header files at my > command prompt. > > ie. gcc -(what options?) helloworld.cpp > instead of gcc helloworld.cpp -(header files) as documented... gxx helloword.cpp (This is all in the FAQ, btw. Download the file v2/faq201b.zip from the same place you get DJGPP and read sections 8.7 and 8.9 there.)