After using, the fread() & fwrite() functions take the cursor to where? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: After using, the fread() & fwrite() functions take the cursor to where? (
/showthread.php?tid=364714)
After using, the fread() & fwrite() functions take the cursor to where? -
[OFK]Zuckerman - 31.07.2012
Hi!
This is my main problem
https://sampforum.blast.hk/showthread.php?tid=364406
But now, I'm interested in that, after using the fread() or fwrite() functions, the cursor in file is taken to the end of the current line, or the beginning to the next line?
In a file the lines are separated with enter characters, the enters are the "\r\n" chars (I use windows). If I run my gamemode on Linux, can it make any problems if I format the lines with "\r\n"? Ot i use just "\n" on linux?
Thank you,
Zuckerman