From: "Tony O'Bryan" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 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