The reason why your suggestions on skipping spaces and returns werent working is for one reason. When i use fin>>plaintext; it gets up until a soace, and stops. has nothing to do with ciphering.
so will someone please tell me how to make
into a script that takes \n and space too? thanks in advanceCode:ifstream fin(file); fin >> plaintext;