I am trying to read data from a file. The file will consist of records as follows
Name of person
When I search for a record, by name, I would like to print record.
Im not sure how to accomplish this, I was wondering if someone can give me any suggestions.
open file - check for errors
use strcmp to compare the name from input to the names in the file.
If it is equal, print info until you reach the word Record