Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

Hello guys, I need help in my C language programming. I'm working on a project which uses files. How can I delete a specified information in the file? e.g a user account.

OpenStudy (anonymous):

I think the logic is that you copy everything except the information that you need to delete in a new temp. file, then delete your old file using remove(); and rename your temp using rename(); both these functions are defined in stdio.h

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!