Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ string to char array

std::string strCoffee = "Nescafe";
const char *charCoffee = strCoffee.c_str();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #char #array
ADD COMMENT
Topic
Name
5+1 =