Answers for "char array to "string array" c++"

2

c++ string to char array

const char *array = tmp.c_str(); //For const char array
char *array = &tmp[0]; // If you need to modify the array
Posted by: Guest on September-28-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language