My assignment is to take a string that a user enters and change all the characters in the string in order to encode or decode their input. The user has to put in an integer that is the "key". My code is nowhere near being finished. At the moment I am simply asking them to type Encode (so they go to the encode part of my program--otherwise they'd simply quit)
My problem was that I was trying to store their input with the cin part and when I run the program (I'm trying to store it in the class) it isn't giving me the option to input anything until I get to the integer part.
I changed it a bit and added the class at the top and now it wont compile at all. It says "expected primary expression before "else" " at line 57.