23.06.2016, 12:12
You need to use io_append, so you can add to the file, and not re-write it.
Also, you must add "\r\n" to the end of each line, so a new line is actually created.
Код:
fopen(filename[], io_append);
Код:
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", ...