Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c_str in c++

What does c_str () do in C++?
  
The basic_string::c_str() is a builtin function in C++ which returns a pointer
to an array that contains a null-terminated sequence of characters representing 
the current value of the basic_string object.
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+5 =