Write a program in C++ to search sequentially through a file for a record with a particular
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program in C++ to search sequentially through a file for a record with a particular key, make sure to include the following steps:
- Ask user “Enter name of the file to search”
- Open the file
- Ask user “Enter last name”
- Ask user “Enter first name”
- Use the entered names (last name, first name) as search key to sequentially search through the file
- If record found, print the records
- If record not found, print “record not found”.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: