data

C++ Reference

data
Syntax:
  #include <string>
  const char *data();

The function data() returns a pointer to the first character in the current string.

Related topics: