Posts: 1,506
Threads: 69
Joined: Feb 2008
When I try to write with fwrite to a file, It just replaces what I've previously written, why?
Posts: 1,506
Threads: 69
Joined: Feb 2008
That will create a huge ass string since I'm gonna log with fwrite? or Is there any better way to log stuff with?
Posts: 1,506
Threads: 69
Joined: Feb 2008
Quote:
Originally Posted by DeathOnaStick
You could modify dracoblues dini include (dini_Set). You can remove all those "key[]"-stuff from the function, cuz you dont need the keys, because you just want to log with it, if i understoof correctly.
|
Yeah well I am going to use dini for other stuff :P
Posts: 1,506
Threads: 69
Joined: Feb 2008
Quote:
Originally Posted by LarzI
io_write or io_append?
Use io_append if you want to append, not replace text.
|
Thank you very much