From: Mark Cowan Newsgroups: comp.os.msdos.djgpp Subject: Re: Beginners help with RHIDE, please Date: Wed, 29 Dec 1999 03:19:01 -0800 Organization: The University of Newcastle Lines: 68 Message-ID: <3869EE24.AE1DE183@studentmail.newcastle.edu.au> References: <38679D86 DOT 68D51CCC AT address DOT in DOT message DOT body> NNTP-Posting-Host: c53h3-asy29.newcastle.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com #include void main () { cout << 2 + 2; } >>in the blue screen of RHIDE, how do I compile and run this? ____________________ Compile menu Compile - will attempt to compile the current file/class ( C++ source files ) Make - will compile any new/changed classes in your project, link and build the executable Link - links all compiled files/classes Build - will compile and link all classes whether changed or not and buld executable _________________ Run Menu Run - runs the project once built __________________ After running will return to blue screen, Press Alt + F5 to view the results (Windows Menu -> Userscreen) -- _____________________________________________ Mark Cowan Newcastle Australia Phil wrote: > Hi, > > I've had a PC for a year, running Win95. > I'm a complete newcomer to any sort of programming, including using DOS. > > I bought a book on C++, because it looks like quite a high level > language, but also fairly > powerful (?). The book I got is for complete beginners, but obviously > doesn't have any detail about how to compile and run programs because > each compiler is different. > Having downloaded DJGPP and installed it properly (as far as I can > tell), I read ALL the documentation which came with it, but most of it > didn't make any sense; it tends to be aimed at people who know what > they're doing I think (?). I've tried for several hours to compile and > run the first program in the book using the RHIDE GUI interface (the > command line stuff scares me!!! I don't understand it at all yet). > Can anyone tell me what I should be doing please. > Specifically, after writing... > > #include > void main () > { > cout << 2 + 2 > } > > in the blue screen of RHIDE, how do I compile and run this? > Any links to complete beginner reading is also most welcome. > Many thanks. > > Phil