www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/26/20:03:56

From: "Maan M. Hamze" <mmhamze AT mail DOT utexas DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cout problem resolved - sorry...
Date: 26 Dec 1996 20:31:37 GMT
Organization: University of Texas at Austin
Lines: 23
Message-ID: <01bbf36b$90b43500$3cb05380@maan-m.-hamze>
References: <fI0vygHkl23U092yn AT primenet DOT com>
NNTP-Posting-Host: slip-103-12.ots.utexas.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeff Bishop <jeffbis AT primenet DOT com> wrote in article
<fI0vygHkl23U092yn AT primenet DOT com>...
> I resolved the problem using section 8.7 of the faq. BTW though, I got a
187K
> exe file just printing "hello world", wow!
> 
You'll get the same amount, or close enough to it, even when you use other
packages like
Visual C++, Borland C++ ver 5 etc...etc.....  The reason is that the exe
includes all the info
needed to run your program specially that DJGPP produces 32-bit protected
mode apps.
This overhead is necessary and unavoidable.
Also, get into the habit of using:
int main(void) or int main() for your C++ programs :):) (the void between
the paranthesis is optional in C++).
but not void main().
How is that John Aldrich? :)
Maan
-- 
Maan M. Hamze
mmhamze AT mail DOT utexas DOT edu
http://leb.net/~mmhamze

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019