Probably because Mingw statically links the library code inside the EXE.
Beware of debug/release configurations, as well, since debug bloats the size quite well.
And 30 KB is not much.
Size of the executable depends on your linking options. Obviously, smaller executable usually means that more components are included in DLL's, and less is part of the original executable.
C++ uses a lot of template code, and that can grow quite a bit.
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Well... I have to start learning how to use Visual C++
When I said full of crap, I didn't mean that it is a bad compiler, but that it has so many windows everywhere, so many little text all around the place, the start page is kind of weird, when you select to make a new project a wizard pops up etc. But, at least the help is useful and got me up and running.
(Visual Studio Express 2008)
Ah, but all these windows has a meaning and is useful in some way. And if you just think they're in the way, you can hide them.
Click on the sticky thing to make it auto-hide and appear only when you move the mouse there.
Or you can use the Full Screen feature (I don't remember where it's hidden) to enlarge the code window to Full Screen.
If you continue to use it, you will get used to it. It always takes a little time before you start to find your way around an IDE.
in release mode you also have optimize for speed/optimize for size options.
The last (with dynamic linking of run-time libraries) should give the smallest size...
To be or not to be == true
Eh? i do beg your pardonHow about contributing something instead of posting spam or other meaningless stuff?
and whats spam?
eh? oh I do beg your pardon, how about you lighten up?How about contributing something instead of posting spam or other meaningless stuff
maybe i should just start banging on about indentation in future each time i feel like adding a comment.
sorry 'twas just i was tickled by the comment 'good luck you are certainly going to need it' i was assuming my reply would go straight in to the next comment along, thus directly relating... but hey, not refreshing my page i would not know where it was going in,,, sooo