@Salem according to your words i have binary files mean fixed lenght and structer ...
acctually after i asked that question i found a way to do but i wanted to continue for this topic cuz i wanted to learn if there is something i dont know...
thx for all answers...
im reading block by block (helps of structers) and my text file like database...i need to delete some entries and for that way i change the block that i want to delete with the last block but last block become empty (just spaces) so.. i think that if i delete this block it might be great... so i...
acctually my program works like this...
if i want to delete a data in the middle or else it copies the last data over the one we want to delete and it fills the last data with "\0"... and... i didnt wait for the answer and i add new modification and it use over write to delete... but as i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.