22.10.2016, 22:36
Please elaborate - yes I use SSCANF a few places, but what do you put in "loading" ? Loading from the database and assigning to variables and such?
Mostly used for commands as for now. sscanf was widely used before i upgraded from MySQL R6 some months ago to assign the results into a set of arrays.
This would be one of 4 cases where sscanf is put to split up strings.
Mostly used for commands as for now. sscanf was widely used before i upgraded from MySQL R6 some months ago to assign the results into a set of arrays.
PHP код:
sscanf(Cps,"p<,>a<f>[49]",arrCoords2);
VehPos[0] = arrCoords2[0];
VehPos[1] = arrCoords2[1];
VehPos[2] = arrCoords2[2];
VehPos[3] = arrCoords2[3];
VehPos[4] = arrCoords2[4];
VehPos[5] = arrCoords2[5];
VehPos[6] = arrCoords2[6];
VehPos[7] = arrCoords2[7];


