05.11.2016, 20:14
Quote:
you need to close the file before using fdeleteline otherwise it can't open the file as it is already opened
fdeleteline is always a bad option, implement the code by yourself than you can write new lines at the deleted position (or create a freplace function) Also if you use io_readwrite, you need to work with fseek and remeber that fwrite can overwrite existing content of the file If you need an example / solution for io_readwrite I could show you |