From: "David Grant" Newsgroups: comp.os.msdos.djgpp Subject: EXE file size Date: Wed, 4 Oct 2000 13:36:16 -0700 Organization: ITServices, University of British Columbia Lines: 23 Message-ID: <8rg4fg$sm6$1@nntp.itservices.ubc.ca> X-Trace: nntp.itservices.ubc.ca 970691888 29382 204.50.79.66 (4 Oct 2000 20:38:08 GMT) X-Complaints-To: abuse AT interchange DOT ubc DOT ca X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com How can I make my EXE files smaller. I just made a Hello World program and it is like 200,000 bytes! It goes something like this: #include int main() { cout << "hello world!"; return 0; } Then I compile it by typing: "gxx test.cpp -o test.exe" I tried using gcc instead, but it didn't like my cout statement for some reason. How can I do a printf instead? It didn't seem to like that either. Thanks, Dave