I've got a statistics management system that uses arrays of structures and I want to be able to close the program and reopen it without losing any data. My idea was to write all of the information...
Type: Posts; User: Holtzy
I've got a statistics management system that uses arrays of structures and I want to be able to close the program and reopen it without losing any data. My idea was to write all of the information...
I'm trying to create a golf handicap management system that takes up to 100 rounds and their statistical info and relays it to one structure of a member....which holds their name, handicap, average...
Thanks for the help on previous posts. I figured this one out on my own. Good luck programming.
I'd like to input the values that I compute, in a loop, to a file that I've already read from. I've opened it as a read/write file. I can't seem to make it work, though it looks as if it should. ...
thanks for all the help ANON, i just figured it out. In printTable2 i was including the original array, and not marks2. Thanks for helping me trouble shoot this......i'm just a beginner C...
#include<stdio.h>
#include<math.h>
double marks [20][2];
char grade[20];
int histogram[6];
double averageMark (double marks[20][2], int numMarks);
double standardDev (double marks[20][2], int...
The output is no longer jiberish, just zero's. Any ideas?
The output is a bunch of jibberish, as if it isn't copying them in properly. When changing it to numMarks it still outputs the same thing, but i think you're right to have it that way.
is there...
exclude the 1-d: before the code.
thanks
i've got an assignment that requires me to copy an array into another array, then sort the original array and output both of them so that you can see the difference. I know how to copy 1-d arrays,...
Thanks very much for the help. It worked without a hitch. I was going crazy there!!!
Best of luck!!
#include<stdio.h>
double marks [20][2];
double averageMark (double marks[20][2], int numMarks);
#define LIMIT 100
void main()
{
int i=0;
int count=0;
double marks[20][2];
int numMarks;