+ 2
Is #Include <string> necessary?
Doesn't it work with #include <iostream> ?? I've never used <string> but I use strings in my programs. Anyone who can help me out with this?
4 Réponses
+ 4
The <string> library is included in the <iostream> library, so you don't need to include <string> separately, if you already use <iostream>.
+ 2
Thanks!! ^^
+ 2
"string.h" header file is for the function like strlen,strcpy,strcmp etc. without string header file you can't use these inbuilt function.
0
yes, sure if have use iostream thn no need fr ds