Mail Archives: djgpp/1996/12/26/20:03:56
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 -