#include <string> adding ~43 KB to my exe
Posted
by Lienau
on Stack Overflow
See other posts from Stack Overflow
or by Lienau
Published on 2010-05-16T23:09:58Z
Indexed on
2010/05/16
23:20 UTC
Read the original article
Hit count: 227
I'm using Code::Blocks to write my program and when I include <string>
(or <iostream>
) the size of my exe grows. My program is very simple and I need to keep it small <20kb. I'm pretty sure this is happening because of the C++ Standards Committee swapped the old .h versions for many new libraries without the .h. But how would I keep it from adding the ~43kb? Are there settings for Code::Blocks so that it wont add the extra kb or is there another native lib I can use?
© Stack Overflow or respective owner