+ 3

Why is my CodeBlocks built hello world program almost 1MB?

I thought it would be more like 20KB

24th Apr 2019, 12:59 AM
t 3
3 Answers
+ 3
Alg, figured it out, for those that are interested, swap out the "#include <iostream>" for "#include <stdio.h>" then use printf() instead of cout. Sorted, my code is no 30KB.
24th Apr 2019, 1:50 AM
t 3
+ 3
Just saw your response rstar, looks like the same answer I sourced, thanks for your comment.
24th Apr 2019, 1:52 AM
t 3