From: "Michel Chassey" Newsgroups: comp.os.msdos.djgpp References: <38679D86 DOT 68D51CCC AT address DOT in DOT message DOT body> <3869EE24 DOT AE1DE183 AT studentmail DOT newcastle DOT edu DOT au> <38695845 DOT AE51EFA5 AT address DOT in DOT message DOT body> Subject: Re: Beginners help with RHIDE, please Lines: 49 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Wed, 29 Dec 1999 09:22:24 -0400 NNTP-Posting-Host: 142.154.174.71 X-Complaints-To: news AT primus DOT ca X-Trace: news1.tor.primus.ca 946477534 142.154.174.71 (Wed, 29 Dec 1999 09:25:34 EST) NNTP-Posting-Date: Wed, 29 Dec 1999 09:25:34 EST Organization: Primus Canada To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello Phil, look at the FAQ section : 8.7 Unresolved externals when linking programs the solution should be there, Hope this helps Michel Chassey ICQ # 34801616 ******************** Phil a écrit dans le message : 38695845 DOT AE51EFA5 AT address DOT in DOT message DOT body... > > Phil wrote: > > > > > I'm a complete newcomer to any sort of programming. > > > I've bought a book on C++. > > > Having downloaded DJGPP and installed it properly (as far as I can > > > tell), I browsed ALL the documentation which came with it (but most > > > didn't make any sense; it tends to be aimed at people who know what > > > they're doing) I've tried for several hours to compile and > > > run the first program in the book using the RHIDE interface. > > > 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 > > Thanks to those who answered. I'm now one step toward success. > However, I'm afraid I'm still stumped by the next 'results'. > Basically when running the above program, djgpp displays the error > message: > > ...creating [filename].exe > Error: c:\djgpp\ld.exe: cannot open -lstdcx: no such file/directory > There were some errors > > Can anyone enlighten me ????? > Thanks again. > Phil. >