Thursday, December 2, 2010

The string data() member function

One of the differences between the c_str() and data() member functions is that the data() function may not return a null terminated string where as c_str() will always return a null terminated string.

No comments:

Post a Comment