Welcome, Guest. Please login or register.

Author Topic: Anti C++ sentiment?  (Read 30131 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline N7VQM

  • Sr. Member
  • ****
  • Join Date: Dec 2002
  • Posts: 272
    • Show all replies
Re: Anti C++ sentiment?
« on: January 26, 2003, 07:43:46 PM »
Quote

Waccoon wrote:

All I know is, when I complile a C program with a C++ compiler, the program turns out huge.  I mean, just for fun I wrote Hello World in MSVC with default values, and it compiled to over 250K.  WTF?  Or is that just because it's Microsoft?


I wrote two Hello World! programs using printf and cout in MSVC6.  There were exactly the same size:  28,672 bytes.  Perhaps you need to set the active config to release?  Debug config always creates large files.
\\"...an error of 1 is much less significant in counting the population of the Earth than in counting the occupants of a phone booth.\\" - Michael T. Heath, Scientific Computing...