Mar 16, 2017 at 1:25am
Well let me make a few comments.
You need to open 2 files and write to one, so you need 2 ifstream's and 1 ofstream.
Next, look up int and string, and think about which a name would be.
int lastname, firstname;
Last edited on Mar 16, 2017 at 1:27am