From: "Betelgeuse" Newsgroups: comp.os.msdos.djgpp References: <8krdhh$jcp$1 AT newsflood DOT tokyo DOT att DOT ne DOT jp> Subject: Re: hello world program doesn't work Date: Sat, 15 Jul 2000 22:36:52 -0700 Lines: 31 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 207.148.143.171 X-Original-NNTP-Posting-Host: 207.148.143.171 Message-ID: <39713dfd_1@news.cadvision.com> X-Trace: 15 Jul 2000 22:45:49 -0700, 207.148.143.171 Organization: CADVision Development Corporation (http://www.cadvision.com/) X-Original-NNTP-Posting-Host: 204.50.1.43 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi Assuming you have hello.cpp #include int main(void) { cout << "Hello world!" << endl; return 0; } Try running the generated .exe in DOS instead of RHIDE... make sure you have CWSDPMI running or that you are in a Windows DOS box. If an EXE was generated, that should work Later, Betelgeuse Dan and Shelly wrote in message <8krdhh$jcp$1 AT newsflood DOT tokyo DOT att DOT ne DOT jp>... >I used rhide to make a "hello world" program. When I try to run it I get >exit code -1. >What could be the cause of this? What can I do to find out how to fix it? > >Dan > >