Hi there! Was given this assignment and I don't even know where to start. Any help will be EXTREMELY appreciated!
Write a C++ program to encrypt a text file (i.e. eFile.txt) using arrays. The text file will contain small letters, capital letters, numbers, spaces and symbols. If the file does not exist, the program should terminate with a "file not found" error message displayed. The output (encrypted text) should be displayed as 50 characters per line.
The following keys are used. (For example, an 'A' or 'a' will output 'E')
ABCDEFGHIJKLMNOPQRSTUVWXYZ Plain text alphabet
EMNVDLWAUCPOKXQBIZJRYTGSHF Encrypted alphabet