In C++ Primer (version 4), the author discussed the security issues about C style string.Then std::string is put forward to display her advantage and use.
Some advices made by me to give you :
1.Use string first.
2.When you operate a C Style string ,you can create a new string object to copy the C Style String.Then operate the generated string ..
3.When you use string, you want to get a C Style string ,you can use string::c_str() to get a C style string pointer.Attention about this is only a pointer....
I commend every one to use string except you must use C style string!