+ 1
<string> vs <iostream> : is string library inside iostream header !?
"string" is a class used by C++ to represent and manipulate comfortably and easily string handling. We access the class via a string header <string>. It allows us to perform concatenation, copying, comparison. Additionally various method for string manipulation such as erasing, insertion, searching and replacing are available. The <iostream> header is used to access generally the input and output functionality. So we may perform some string methods like copying and concatenation. But some methods will remain unavailable. For further understanding read " A complete guide to programming in C++" by Jones and Bartlett Publishers at www.jbpub.com
1 Resposta
0
The Q&A section is only for questions (though that is some interesting information...)
Take a look at this:
https://www.sololearn.com/Discuss/1316935/welcome-to-sololearn-forum/