User:Kevin192291/Sandbox

c_str
c_str is a function in the STRING Class from the STRING.H library. c_str converts a string to a C-style string and adds a null terminator. The returned pointer is type const, it can't be changed, and does not require Deleting.

HEADER:   NAMESPACE: STD

 FUNCTION: const char* c_str const; 

Template Declaration: ( basic_string )const charT* c_str const;

Example:

MSDN cPlusPlus.com