From: iam AT not DOT you (Ken Power) Newsgroups: comp.os.msdos.djgpp Subject: Re: Executables don't run in DOS Message-ID: <37138d2f.22787625@news.mysolution.com> References: X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 Date: Tue, 13 Apr 1999 18:31:34 GMT NNTP-Posting-Host: 209.100.146.69 X-Trace: newsfeed.slurp.net 924028424 209.100.146.69 (Tue, 13 Apr 1999 13:33:44 CDT) NNTP-Posting-Date: Tue, 13 Apr 1999 13:33:44 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tue, 13 Apr 1999 10:23:44 -0700 (PDT), in comp.os.msdos.djgpp, MATTHEW WENG managed to squeak: add the following line after the cout statement: return 0; the int main statement looks for a return value, it chokes if it doesn't get one. >I have the source code for the hello program I used to test djgpp and the >autoexec.bat and config.sys files on the machine. > Thanks, > Matthew Weng >---------------------------- >HELLO.CPP: >#include > >int main(){ > cout << "Hello Universe!" << endl; return 0; >} -------------------------------- Ken Power uncle_wiggly at bigfoot dot com get that? --------------------------------