Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ string to const char*

std::string str;
const char * c = str.c_str();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #const
ADD COMMENT
Topic
Name
2+6 =