Im trying to output an array to a bmp file but i keep getting and error that says excess elements in scalar initializer.
i have tried both of these codes and still get the same error.
float pond[n][n];
int outputBMP("finaldata.bmp", (float*)pond, 499, 499);
float pond[n][n];
val=&pond[n][n];
int outputBMP("finaldata.bmp", (float*)val, 499, 499);