From: Khayu Nyein Aye Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie: Many questions! Date: Fri, 25 Jul 1997 10:40:23 -0400 Organization: The Internet Channel Lines: 39 Message-ID: <33D8BAD7.59CE@SPAMinch.com> References: <33D90515 DOT 65BB AT singnet DOT com DOT sg> NNTP-Posting-Host: annex3-22-135.dialup.inch.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tan Mu Yen wrote: > > (1)I've got a problem compiling a simple c++ hello world program using > cout ... it says cant find iostream.h .... but i downloaded the > djgpp c++ support files already .. why? > Read the FAQ beofre posting any questions to this NG. We have some really good advisors and some really good flamers. I got flamed just a couple of days ago for asking the same question. The answer is found at section 18.2, I believe, in the FAQ. Rhide by default executes gcc filename and therefore looks only in %DJDIR%\include for header files. And your c++ headers are in lang\cxx, GCC won't look there, that's why it can't find it. The only way I know (was advised) now is to, and somebody advise if better way exists, go to command line and type "gxx filename" with preferred switches. Then iostream.h and all c++ headers in lang\cxx will be looked up. Hope it helped. I am still figuring out my own way in RHIDE and DJGPP so my advice might not be accurate. Later... Khayu AT inch DOT com > (2)Another problem is RHIDE ... everytime ... i exit to dos .. the color > of my monitor becomes kinda of strange ... this also happens when i > exit to msdos prompt ... and when i return to rhide ... the display > the ide is also weird ... i'm using djgpp ver 2 .. with win95. > > (3)I understand that i do not need to use any dos extender to run > programs using djgpp v2 ... do i need to include any files > if i want to run the program in another computer ... > > (4)What r the things and commands that i need to use in specific ... to > make my programs really 32 bit dos programs ..? > > (5)Is there any good online text or tutorials on 32 bit dos programmming > using djgpp ... > > Thanks ...