Hi, all!
I'm writing an encryption program where I want to encrypt 2 lines that are being read in from a file. First I want to encrypt the 1st line and write the encrypted version to a second file. Then I want to encrypt the 2nd line and write it to a third file.
How can I read in the 2 lines so that I can deal with each one individually?
e.g. this is line one
this is the second line.
I want to read in line 1, encrypt it, and send it to a second file. Then I want to read in line 2, encrypt it, and send it to a third file.
some version of get(), getline() ???
HELP PLEASE???