delorie.com/archives/browse.cgi | search |
From: | "Tony O'Bryan" <aho450s AT nic DOT smsu DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Hello world! |
Date: | Sun, 04 Jan 1998 21:33:11 -0600 |
Organization: | Southwest Missouri State University |
Lines: | 23 |
Message-ID: | <34B05477.4DEF@nic.smsu.edu> |
References: | <34B0250F DOT 4E7 AT netspace DOT net DOT au> |
Reply-To: | aho450s AT nic DOT smsu DOT edu |
NNTP-Posting-Host: | sara.a34.smsu.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Mark wrote: > > What is the size of a simpe hello world program in C++ it seems a lot > bigger than the one done in C. This code: #include <stdio.h> int main(void) { printf("Hello world\n"); return 0; } compiled both with gxx and gcc, then stripped with strip.exe ended up the exact same size: 36,504 bytes. -- Tony O'Bryan http://www.geocities.com/SiliconValley/Park/7201
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |