If I have an array: array[0] that has a value stored in it and the value changes. how do I print the values to a file formatted i.e.?
fprintf(ofp,"%f",array[0]);
output is:
1.234
2.456
3.456
2.367
I want it formatted like this
1.234 2.456
3.456 2.367
Thanks.