I'm trying to write an interactive story, setting the main character's gender as a variable so that the proper pronouns will be used. I'm taking an introductory C++ class, so I probably have some things wrong. I'm getting an undeclared identifier error on lines 17 - 22, 27 - 32 and 42 and 43. Doesn't line 13 take care of that?
'he', 'He', 'him', 'Him', 'his', 'His', 'she', 'She', 'her', 'Her', 'hers', and 'Hers' are undefined.
You must have meant to make them strings, which would be "he", "He", etc.
'char' can't hold strings, but 'char *' and str::string can.