I got a txt.file which it consist of a list of students' details. I wish to delete it from my program. Which i delete it using exe and record in my txt.file should be deleted too.

Is using seekp() is helpful for my problem?

How to use it?

Please help me cause this is part of my project that must be sent by next week.