From: Stephen Baker Newsgroups: comp.os.msdos.djgpp Subject: iostream.h and string.h problem Date: Sat, 26 Oct 1996 20:19:50 -0500 Organization: The University of Iowa Lines: 148 Message-ID: References: <327299F0 DOT 242A AT dana DOT ucc DOT nau DOT edu> NNTP-Posting-Host: green.weeg.uiowa.edu Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-2130757607-2078917053-846379190=:97240" In-Reply-To: <327299F0.242A@dana.ucc.nau.edu> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info. ---2130757607-2078917053-846379190=:97240 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello! I'm a new user of DJGPP and am having trouble with and . The programs that I am trying to compile are very simple and are written for my Introduction to Programming class which is using C++. The installation of DJGPP went well and I have tried to do all that was recommended in faq201b.zip. I have enclosed a file containing config.sys, autoexec.bat, output of SET, djgpp.env, output of go32-v2, and the redirect of an attempt to compile a short program containing the iostream and string include directives. The hardware is an old Gateway 386sx16 with an 80M Stacked drive and 16M of memory and DOS 6.0. I have been grappling with this for hours and hours over a two week period and have really had it! I had hoped to use this compiler in order to save the time spent at the computer lab. Additionally, they use PowerMacs and CodeWarrior, both of which have proven difficult and time consuming even for a fairly experienced DOS user! DJGPP resides in the directory C:\DJGPP, djgpp.env is there, I've checked for spaces in the DJGPP path statement, I've tried using gxx instead of gcc, I've verifed that string.h and iostream.h are located /djgpp/include and /djgpp/lib/cxx respectively. What else is there!?! Thanks. (Sigh) ---2130757607-2078917053-846379190=:97240 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="out.txt" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Environment output W01lbnVdDQptZW51aXRlbT1XaW5kb3dzDQptZW51aXRlbT1ESkdQUA0KDQpb Q29tbW9uXQ0KREVWSUNFPUM6XERPU1xISU1FTS5TWVMNCkRF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