Answers for "how to convert a string into an array of characters in cpp"

C
0

how to input a string into a char array cpp

strcpy(my_array, my_string.c_str());
Posted by: Guest on August-26-2020

Code answers related to "how to convert a string into an array of characters in cpp"

Code answers related to "C"

Browse Popular Code Answers by Language