- 1
How to delete some part of file not whole file how can i do this in c?
i know that in c fopen("filename","w"); with w i can delete whole file but i don't want to delete whole file just want to delete some part of file
1 ответ
+ 11
You will have to write all info of the file into arrays, and then delete the specific array contents which contains the lines you want to delete, and then write the array contents back to the file.