Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

std string to const char * c++

std::string a = "string";
const char* b = a.c_str();
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #std #string #const #char
ADD COMMENT
Topic
Name
6+5 =