I have read several lines from a text file using std::getline, but now I need to convert the string array of lines into a char array so that I can use isalpha and isdigit. The ultimate goal here is to identify which chars are numbers and which are letters.
i.e.:
convert string content[50] to an array of chars.
I have tried using strcopy, but it doesn't let me use that string because "'string[50]' is not a structure or union"
Any help is appreciated, thank you.