how come everytime i compile my program with msv, the exe gets too big, even if i just print "bla" on screen![]()
and what can i do (in code, dont want packers etc.) to make my program smaller ?
This is a discussion on program size too big? within the Windows Programming forums, part of the Platform Specific Boards category; how come everytime i compile my program with msv, the exe gets too big, even if i just print "bla" ...
how come everytime i compile my program with msv, the exe gets too big, even if i just print "bla" on screen![]()
and what can i do (in code, dont want packers etc.) to make my program smaller ?
Choosing a "release" build instead of a "debug" build helps a lot.
There are also optimizations that can be turned on to reduce size. Additionally, many libraries such as MFC will tend to add at least some bloat to a program.