my data is being written to a data file like this.
3.456 3.456 2.345 2.345
3.456 6.788 9.896 9.984
... from left to right.
I want to read the data in another program column wise.
fscanf(fp,"%f, %f, %f, %f",&v1,&v2,&v3,&v4);
having v1 hold the first column, v2 hold the second and so on need a little help.
I am displaying it in GL but it is spitting it out fast like a counter, how to slow it down.