From: "Maan M. Hamze" 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: 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 wrote in article ... > 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