0
does the <iostream> load <string> as well?
including libraries
4 Respuestas
+ 5
No, and it's, in my opinion, also not sad. Separation of concern is *the* means for clean reusability.
0
Sadly not.
0
Unfortunately it does not. You will need to include both <iostream> and <string> in your header.
0
The <string> library is included in <iostream> library.
So you do not need to write it if you are using <iostream> .