state[] needs to have a constant between the brackets to determine the array's size. I recommend that you consider using strings ONLY.
-Albatross
Last edited on
If I use strings, how do I get it to return values of strings
Return an std::string instead of a char*.