Search:

Type: Posts; User: Holtzy

Search: Search took 0.00 seconds.

  1. Writing Struct to Binary File as a Save to Disk Operation

    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...
  2. Replies
    2
    Views
    2,070

    Structures within structures for a database

    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...
  3. Replies
    3
    Views
    1,125

    Thanks for the help on previous posts. I figured...

    Thanks for the help on previous posts. I figured this one out on my own. Good luck programming.
  4. Replies
    3
    Views
    1,125

    Writing to a file

    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. ...
  5. Replies
    11
    Views
    3,634

    thanks for all the help ANON, i just figured it...

    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...
  6. Replies
    11
    Views
    3,634

    entire code

    #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...
  7. Replies
    11
    Views
    3,634

    still not working.....

    The output is no longer jiberish, just zero's. Any ideas?
  8. Replies
    11
    Views
    3,634

    the ouput

    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...
  9. Replies
    11
    Views
    3,634

    mistake

    exclude the 1-d: before the code.

    thanks
  10. Replies
    11
    Views
    3,634

    Copying 2-d arrays

    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,...
  11. Replies
    3
    Views
    1,152

    Error Message

    Thanks very much for the help. It worked without a hitch. I was going crazy there!!!

    Best of luck!!
  12. Replies
    3
    Views
    1,152

    Frustrating Error Message!!! (for a function)

    #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;
Results 1 to 12 of 12