So I got this program from a book and what I like to do is change it to do things I previously learned to do. The program uses toupper. I would like to have you be able to enter a string, see the output, then do it all over again until you type in "exit". I already changed the program in an attempt to make it happen, but so far no luck. What am I doing wrong?
What the hell is while(szString[256] != cExit) and if(szString, 256 == cExit)?
Use strcmp for char array or std::string::compare for std::string class (which you should instead of char here).