| delorie.com/archives/browse.cgi | search |
| From: | "Steve Flanagan" <steve AT flanagan DOT karoo DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | HELP !!!! New Programmer |
| Date: | Tue, 3 Aug 1999 22:04:10 +0100 |
| Organization: | Customer of Planet Online |
| Message-ID: | <7o7lg5$5ju$1@newsreader1.core.theplanet.net> |
| NNTP-Posting-Host: | modem70.skinner.kingston-internet.net |
| X-Trace: | newsreader1.core.theplanet.net 933714245 5758 195.92.235.70 (3 Aug 1999 21:04:05 GMT) |
| NNTP-Posting-Date: | 3 Aug 1999 21:04:05 GMT |
| X-Complaints-To: | abuse AT theplanet DOT net |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| Lines: | 35 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Reply to steve AT flanagan DOT karoo DOT co DOT uk please ... or post replies here ... Any assistance ANYONE can offer me would be greatly appreciated and I hope this matter is not too trivial. I am a very green and uninitiated C++ programmer and would welcome some advice on the following problem I am having. I recently purchased Sams Teach Yourself C++ in 24 hours which came with DJGPP on an accompanying CD . I assume that, since I followed the installation instructions, I have all the necessary modules on my hard disk. After creating a .cpp file extension, and typing in the required code for Lesson 1 ( Hello World ), i managed to get to grips with the syntax for running the compiler. At the DOS prompt I typed gxx s.cpp -o hw.exe. ( S being the name I gave the text file and HW the name for the executable ). The compiler then returned the following error message :- In file included from s.cpp:1: c:/djgpp/lang/cxx/iostream.h:31: streambuf.h : No such file or directory ENOENT ) Using find files, the file streambuf.h is located in c:\djgpp\lang\cxx and also in the Chapter 1 folder of the exercise directory in the Sams folder. I am executing gxx in a dos prompt under windows. Should I do this in a pure DOS session?? Also the s.cpp file is located on my desktop. Should this be in the folder where streambuf.h and iostream.h lie ?? I look forward to having my problems solved soon so I can call myself a fellow programmer ... .we ALL have to start somewhere .... Thanks to all in advance.... STEVE
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |