OK, first, a couple of things to get you started:
Code:
/* note to self: Add loop to output more than 1 row once you get this to work */
for(rescount = 0; rescount < results; rescount++)
{
printf("%f\t", fresults[][0]);
}
That part above should be changed to the following:
Code:
for(rescount = 0; rescount < results; rescount++)
printf("%f\t", fresults[rescount][0]);
You forgot the loop-counter index there, and now you can add the outer loop like you intended (in the comment).
Another thing, the line that reads:
Code:
printf("Please enter the number of results per experiment (No More Than 6): ");
should really say:
Code:
printf("Please enter the number of results per experiment (No More Than %d): ", MAX_RESULTS);
change this for maximum experiments as well.
Also, in this part of code, the part I put in bold doesn't do anything and is completely unnecessary:
Code:
for(rescount = 0; rescount < results; rescount++)
{
printf("Result %d\t", (rescount + 1));
Make some of these changes, and have a shot at the "/* note to self: Add loop to output more than 1 row once you get this to work */" part of the program.
Good luck, and if anything comes up, just ask