2022-01-25

How to delete data from file and move all info back

I created a file with fopen and I deleted the first value from the file and I want to take all of the values that are in the file and move them to the start of the file.

Example:

  • File: [Info,data,string]

  • Wanted: [data,string,]

  • What is happening: [,data,string]

Any help will be great.



from Recent Questions - Stack Overflow https://ift.tt/32tTLPp
https://ift.tt/eA8V8J

No comments:

Post a Comment