Message-ID: <001801bf95fb$d0531920$bfeda3c3@ervsab> From: "ervin nesimovic" To: References: <38DBF1B1 DOT C188641 AT kscable DOT com> Subject: Re: Compile hello world Date: Sat, 25 Mar 2000 02:45:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Reply-To: djgpp AT delorie DOT com Hello! You should lose that with use #include int main() { std::cout<<"Hello world"<> And skip \n couse that may couse some trouble later if you decide to programe more in djgpp /ervin ----- Original Message ----- From: "Bruce Bales" Newsgroups: comp.os.msdos.djgpp To: Sent: Friday, March 24, 2000 11:52 PM Subject: Compile hello world > Running windows 98 on pentium 200. 48 meg memory. > > Installed DJGPP with no hitches. Tried "Hello World" program. > #include > int main() > { > cout<<"Hello, World\n"; > return 0; > } > > Got error message" c:/djgpp/include/iostream.h(31) Error: streambuf.h: > no such file or directory." > Tried the FAQs and readme's. Can't find answer. > > Streambuf.h is in the include directory, along with iostream.h. > Tried in MS/DOS and with RHIDE. same result. Reinstalled twice from > CDROM and once from a download from delorie.com. Always same result, > except for include location called out. Always lists the right > location, but says stringbuf.h doesn't exist. > > In downloaded version, both iostream.h and streambuf.h are in > \gpp2952b\lang\cxx\. > I'm working from "Learn C++ in 24 hours" and 15 hours is used up - > Help. > Bruce Bales >