The purpose of my code is to read from a file that contains the name and number
of other files that I then need to read and decrypt the text within those files. The code for decrypting the text is the first line of each text file. I then need to write the decrypted code to another file. That's the basic idea of it.
My code compiles file but i receive an error when I run it that states that i'm doing something out of range?
"terminate called after throwing an instance of 'std::out_of_range'"
Any help would be wonderful and I do apologize for any inconveniences. I am a beginner.
Yes I did. The problem ended up being that I forgot the offset in the '#' and 'i' cases(I needed to add or subtract 48) and that i should have used the comparison operator instead of the assignment operator in my if statement.
Thanks for all the suggestions!