I am currently working on an assignment for school. I am writing a grade book program. So far I have written code to show all current grades from a file, input new grades to the file and exiting the program. My problem is that I need to search the file for a specified character (the grade) and this has me confused.
How would I go about searching a text file for a grade and displaying only the relevant entries?
Any and all help is greatly appreciated.
How would I go about searching a text file for a grade and displaying only the relevant entries?
Any and all help is greatly appreciated.
Comment