how do we delete the lines at the beggining and add new lines to the end of the when the file size reached maximum in C.
how to delete lines at beggining and add new lines at end of file
Collapse
X
-
Tags: None
-
Originally posted by devikacshi
did you find you how limit the size? could you help me regarding that?
no not yet. i am trying for that. i was just looking if some how we could limit then how to proceed.Comment
-
Originally posted by devikacshi
did you find you how limit the size? could you help me regarding that?
If necessary rename the new file to the old one after deleting the old fileComment
-
Originally posted by devikacsAnd regarding deleting lines from the top, you will have to rewrite the entire file to a new one , add the new lines to that file.
If necessary rename the new file to the old one after deleting the old fileComment
Comment