|
-
Mar 7th, 2002, 10:06 PM
#1
Thread Starter
PowerPoster
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?
-
Mar 8th, 2002, 12:08 AM
#2
Frenzied Member
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

-
Mar 8th, 2002, 12:09 AM
#3
Thread Starter
PowerPoster
-
Mar 8th, 2002, 12:14 AM
#4
Thread Starter
PowerPoster
Nevermind... I got it! Next time I'll read the help files first . Now it's only 36kb.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|