I'm trying to write a program where it can access a file with student ids and their names and be able to update, delete student records. I'm currently stuck on the deleting part as my current code is only deleting the whole record. And I cant figure out how to fix it.
I'm trying to get it into vectors, then input a last name, next the program would search the doc and delete the line with the last name then spit out a whole new file.