Results 1 to 4 of 4

Thread: Size?

  1. #1

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125

    Size?

    I am being bored and I put this in a cpp file and compiled it:
    Code:
    #include <iostream.h>
    
    int main()
    {
    
    	cout << " ___ \n";
    	cout << "|   |\n";
    	cout << "|   |\n";
    	cout << "|___|\n";
    	return 0;
    }
    and when it's compiled, it's 172kb. I thought C++ was supposed to make smaller files?! How can I shrink the size?
    <removed by admin>

  2. #2
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    Did you do this in the debug mode or the release mode? If you have it in debug it adds a lot of code to help the compile do debugging. It should be alot smaller in release mode
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  3. #3

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    How do I change modes?
    <removed by admin>

  4. #4

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Nevermind... I got it! Next time I'll read the help files first . Now it's only 36kb.
    <removed by admin>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width