Originally posted by davidnj732
I need to write a program called Encrypt.cpp, which opens a text file. The name of this file is provided by the user. The program reads every character from this input file, adds 2 to the ASCII value of it, and prints the resulting character into a new file called output.dat.
I then need to write a program called Decrypt.cpp, which opens a file containing encrypted data created using the scheme used in question 2. The decrypt program deciphers the text and displays it on the screen.