I'm trying to get this program to read from a file, populate a string array and capitalize all data.
I keep getting errors that say "no matching function for call to
toupper( std:: string &)"
and
"no matching function for call to
isalpha( std:: string &)"
I imagine it's something to do with my string array. When I first began, I had it as a char array, but I got compiler errors for "getline"
You're using the array inconsistently.
On line 29 you treat it as an array of strings, which is correct, but on lines 33-49 you treat it as a string in itself, which is not.