Message-Id: <199912020534.AAA24527@delorie.com> From: "Leon" To: Subject: Re: Newbie: C++ compiling Date: Thu, 2 Dec 1999 15:34:48 +1000 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com may be you meant to type #include ? instead of just #include ie without .h?i have typed with .h and it compiled just fine With best regards * * * * * * * * * * * * * * * * * * * * Leøn * * * * * * * * * * * * * * * * * * * * Mastering Solutions (design and development) www.bigfoot.com/~xt_contact www.powerup.com.au/~lvz/resume/entry.htm ---------- > From: Chiew Heng Wah > To: djgpp AT delorie DOT com > Subject: Newbie: C++ compiling > Date: Thursday, December 02, 1999 11:48 AM > > Hi! > > I am new with DJGPP. I have a problem while attempting to compile a C++ > program. > I have downloaded and installed the lpg and gpp binaries at the appropriate > directories. > I have no problems compiling other C programs. Only C++ programs giving > problems. > > Heng Wah. > > ============Error Message=========== > %gcc hello.cpp > hello.cpp:1: iostream: No such file or directory (ENOENT) > ==================================== > > ===========Environment Setup======== > DJGPP=c:/djgpp/djgpp.env > PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTIL;C:\DJGPP\BIN; > ==================================== > > ==========Program Listing=========== > #include > > int main() > { > std::cout << "Hello, World\n"; > return 0; > } > ==================================== >