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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started