how to input a string into a char array cpp
snippet in c

how to input a string into a char array cpp

user9215

strcpy(my_array, my_string.c_str());