Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ string to char*

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