I used to use the code below to Write an 1D array to a File:
FILE *fp; float floatValue[5] = { 1.1F, 2.2F, 3.3F, 4.4F, 5.5F }; int i; if((fp=fopen(\"test\", \"w
Instead of a single for loop you will add an other one e.g.:
for(i=0;i