The an array was read into a file as follows:
Should I be able to read it back out in the same way just using fread. When I try it I get that no bytes have been read.
Code:
fp = fopen(filename, "w");
for ( i = 0; i < 1500; i++)
for(j = 0; j < 5; j++)
for (k = 0; k < 45; k++)
fwrite((char *)Paverages[i][j][k], sizeof(char), 8, fp);
fclose(fp);
Should I be able to read it back out in the same way just using fread. When I try it I get that no bytes have been read.