delorie.com/archives/browse.cgi | search |
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: | <Pine DOT OSF DOT 3 DOT 96 DOT 990412200455 DOT 763A-100000 AT octans DOT EECS DOT Berkeley DOT EDU> |
X-Newsreader: | Forte Agent 1.5/32.451 |
MIME-Version: | 1.0 |
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 <mweng AT cory DOT EECS DOT Berkeley DOT EDU> 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 <iostream.h> > >int main(){ > cout << "Hello Universe!" << endl; return 0; >} -------------------------------- Ken Power uncle_wiggly at bigfoot dot com get that? --------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |