16.04.2017, 04:03
(
Последний раз редактировалось Logic_; 16.04.2017 в 06:13.
)
Oh boy, you're doing something which no one would EVER advice you... You should use sscanf because it's the best (C++, speed and reliability) and better than strtok.
means PHP]f,f,f,f,f,f,d,d,d[/PHP]
f is float and d is for integer.
You can enter the float value (and the integer value) with the 'comma' (,) separator between them.
but here, it loads the value from the file which are seperated by the comma.
PHP код:
p<,>ffffffD(-1)D(-1)D(-1)
f is float and d is for integer.
You can enter the float value (and the integer value) with the 'comma' (,) separator between them.
PHP код:
1.0,1.0,1.0,1.0,1.0,1.0,0,0,0