different compiler under windows

quote from: http://spaces.msn.com/members/zhz44/Blog/cns!1pvDXt8xjGfXmXn9JkAvjI4A!107.entry



#include <iostream>

using namespace std;

int main()


   cout <<"hello world"<<endl;

   return 0;


—————quote end—————-
It’s very interesting!
With the default settings in dev-cpp, compiled by MinGW, the executable is 463kB in size!
Using VC 6, it is 244kB with debug mode, and 64kB with release mode
With vc 7 (vs.net 2003), the two executables are 224kB and 68kB respectively.

Leave a Reply

Your email address will not be published. Required fields are marked *