The program should have a menu that allows the user to perform the following tasks:
1. To enter the source file name.
2. To enter the destination file name.
3. To encrypt from the source to the destination file.
4. To decrypt from the source to the destination file.
I used a switch statement for this program. I don't know how to allow the user to create a filename (1&2) but I can access the file names during encryption and decryption.
case 1:
cout<<"Enter the input file name";
cin>>input;
case 2:
cout<<"Enter the out file name";
cin>>out ;
How do I pass those file names to case 3 and 4 for the encryption/decryption?
using &? *?
Thanks.