Compiler is Microsoft Visual C++ .NET, architect edition
I want the smallest filesize possible with C, without packing/compressing. This program that doesn't do anything is 20.5K, If I just have an int main() without any includes, it's around the same size, if not bigger.. why?
Does the size differ greatly with each compiler? What causes the huge filesize for `programs that don't do anything`.
I compile with default settings, "release", not "debug"..
I opened some files in notepad, and found this, what is it?
- unable to initialize heap
- not enough space for lowio initialization
- not enough space for stdio initialization
- pure virtual function call
- not enough space for _onexit/atexit table
- unable to open console device
- unexpected heap error
- unexpected multithread lock error
- not enough space for thread data
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
- not enough space for environment
- not enough space for arguments
- floating point not loaded
Microsoft Visual C++ Runtime Library
Program: ... <program name unknown>
int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR CmdLine, int CmdShow)