Exactly
p.s. thanks for being so patient with me.
User Profile
Collapse
-
I apologize if I was unclear. What I meant to say was that I need to search inside the text file (not the disk) and find all instances of the grade that was given by the user then display all matching results.
Sort of:
// what follows is really bad pseudo code
user inputs grade to search for
program searches whatever.txt
displays all matching results.Leave a comment:
-
Search a File for a specified character
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...
No activity results to display
Show More
Leave a comment: