0
how to delete some part of file in c with example?
suppose i have file in which data stored is 'hey everyone please help me' and i know with fopen() i can read ,write and append file but question is that in file 'hey everyone please help me' how can i delete some part of file not whole file like if i want to delete 'please' or 'help me ' how can i do this.
2 Réponses
+ 7
Can you please stop posting dups.
https://www.sololearn.com/Discuss/563359/?ref=app
https://www.sololearn.com/Discuss/563624/?ref=app
0
You can read data from file into variable in your programm, then manipulate with variable and then write data from variable into file. If there is a little data in file, it can be a most simple way, I think :)