Answer the question
In order to leave comments, you need to log in
How to remove a structure from a text file?
An array of structures is written to a text file, how can I remove an element of this array from a text file? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Read
Delete element
Write
If the structure is binary, everything is done there literally in these three actions (if the structure is described in advance and there is a structural type). If the structure is textual, variable length - you might have to fuck around to find the boundaries of the element.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question