I'm working on a program in Visual Studio that encodes and decodes a txt file of user names, passwords, and websites that has 3 levels of encoding/decoding. I have level 1 to display some gobbledygook that I guess is correct. My level 2 is encoding but only displays "Encoded" for each of the 10 lines. I have gone into debugging and can see the encrypted characters, but can't seem to figure out what to change to correctly display. I have worded it exactly the same as level 1.
Thank you,
Mark
//Decode level2
string decodeLevel2(string encodedString)
{
const int THREE = 3;
const int FOUR = 4;
string decodedString;
char decodedChar;
string tempVarFirst;
string tempVarLast;
string middle;
string buildStr;