+ 1

Why doesn't c++ already include< iostream> header?

Why do we have to include headers ourselves? Can't c++ have them already included?

3rd Jul 2017, 5:08 PM
Syed Huxaif
Syed Huxaif - avatar
3 ответов
+ 2
I think it's because not everyone program that we write will use them, and including every standard library header will increase final code size needlessly.
3rd Jul 2017, 5:21 PM
Handy
Handy - avatar
0
nothing is included on C++
3rd Jul 2017, 5:21 PM
Jojo