fwrite & fdelete bug
#6

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
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
Yeah I never actually used file functions, it could be nice if you explain yourself better
Reply


Messages In This Thread
fwrite & fdelete bug - by NeXoR - 03.11.2016, 21:17
Re: fwrite & fdelete bug - by NeXoR - 04.11.2016, 06:20
Re: fwrite & fdelete bug - by NeXoR - 04.11.2016, 10:53
Re: fwrite & fdelete bug - by NeXoR - 05.11.2016, 10:14
Re: fwrite & fdelete bug - by Nero_3D - 05.11.2016, 15:53
Re: fwrite & fdelete bug - by NeXoR - 05.11.2016, 20:14
Re: fwrite & fdelete bug - by Yaa - 05.11.2016, 21:23
Re: fwrite & fdelete bug - by ZiGGi - 05.11.2016, 22:14
Re: fwrite & fdelete bug - by SickAttack - 05.11.2016, 22:37

Forum Jump:


Users browsing this thread: 1 Guest(s)