From: "Borg_Cinder" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with RHIDE(Newbie!) Date: Wed, 3 Nov 1999 17:30:52 -0500 Organization: http://extra.newsguy.com Lines: 95 Message-ID: <7vqd15$svg@enews2.newsguy.com> References: <7vq0pj$8h4$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: p-375.newsdawg.com 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 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Everything looks ok in your sample hello program, but try this C++ example and see if you get the same errors: Hello.cpp ------------------------------------------ #include int main() { cout << "Hello World!\n"; return 0; } ------------------------------------------ Save as the above mentioned file name. Now compile. This should give you absolutely not errors, if it does then you have setup DJGPP and/or Rhide incorrectly. Chosing Run should give you an exit code of 0 (in hex). This means the program terminated normally. If you're running Rhide from within Windows, make sure the .env file has LFN set to Y. Many other potential errors are discussed in the DJGPP FAQ. Also, upgrade to the beta version of Rhide 1.47. It fixes critical bugs. Available here: http://www.tu-chemnitz.de/~sho/rho/rhid147b.zip A bug in Rhide 1.4 wouldn't allow you to compile C++ programs correctly. The entire base of my knowledge comes from "Teach Yourself C++ in 21 Days" by Jesse Liberty (Sams Publishing), so that's why I gave you a different example. wrote in message news:7vq0pj$8h4$1 AT nnrp1 DOT deja DOT com... > Ive searched Deja for this problem but couldnt > find a solution. > RHIDE 1.4 > > I am totally new to DJGPP and C, my problem is > with using RUN in RHIDE. For example the Hello > program, > > #include > > int main() > { > printf("Hello world!\n"); > return 0; > } > > This is what I see after clicking RUN from RHIDE: > > Information > Program exit code: -1 (0xffffffff) > > In the message window I see: > Compiling: hello.c > no errors > Creating: hello.exe > no errors > > When I click OK in the Information box this pops > up in the lower window: > > contents of stderr from hello.exe > Unmatched quote character. > > Pressing ALT+F5 shows a blank screen but it does > produce a workable .EXE if I run it from DOS, I > also tried compiling from DOS using: > gcc hello.c -o hello.exe > and there seemed to be no problems. The problem > happens with every program I try, I downloaded a > tutorial from Coronando website that came with > some source code and I get the same results with > all of those files too. > I must mention that the first time I tried the > hello program with RHIDE it worked, I got an exit > code of 0 and ALT+F5 produced the desired > results, but only one time! > Ive tried deleting my DJGPP folder and unzipping > everything all over again but it still wont work. > Im learning as I go so if Im missing something > here please let me know. > > Thank you, > Leonard > > > Sent via Deja.com http://www.deja.com/ > Before you buy.