strange problem with INI
#2

You need to use io_append, so you can add to the file, and not re-write it.
Код:
fopen(filename[], io_append);
Also, you must add "\r\n" to the end of each line, so a new line is actually created.
Код:
format(coordsstring, sizeof(coordsstring), "%d|%d|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%s|%d|%d|%d|%d|%d|%d|%d|%d|%d|%s|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\r\n", ...
Reply


Messages In This Thread
strange problem with INI - by Maximun - 23.06.2016, 12:09
Re: strange problem with INI - by Stinged - 23.06.2016, 12:12
Re: strange problem with INI - by Maximun - 23.06.2016, 12:23
Re: strange problem with INI - by Vince - 23.06.2016, 13:10
Re: strange problem with INI - by Maximun - 23.06.2016, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)