Crossware

Table of Contents        Previous topic       Next topic       

C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Member Functions->Data Access

#include <string>

const char* c_str() const

Returns a pointer to the data of the string terminated with a '\0' character.


const char* data() const

Returns a pointer to the data of the string.