Question: C++ Programming Question: Can someone give me an example of how I can have a user give me the following input: Their Name, their age,
C++ Programming Question: Can someone give me an example of how I can have a user give me the following input: Their Name, their age, and their address and store it in a file on a single line separated by a space. Then put that information into a temporary text file and compare their information to another text file that contains other names, ages, and addresses to make sure their name and address aren't already within that database. I'm having a hard time reading each line of the database file and comparing all the stored users information to the temporary file with the information the user just entered.
Can someone show me an example of how this might work?
Thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
