devxlogo

std::string and null Characters

std::string and null Characters

Unlike C-strings, a std::string object may contain null characters in the middle of its internal buffer. For example:

 std::string s=

devx-admin

Share the Post: