Search:

Type: Posts; User: Chewy

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,776

    Thanks, I'll give that a try.

    Thanks, I'll give that a try.
  2. Replies
    9
    Views
    1,776

    OK, to sum up the problem: As part of an...

    OK, to sum up the problem:
    As part of an assignment I'm writing a simple database in C which stores student information - an ID number and a unit name. The struct which this is stored in looks like...
  3. Replies
    9
    Views
    1,776

    Like I said, thanks for you help, but I'm still a...

    Like I said, thanks for you help, but I'm still a bit hazy on how to actually store the data in the array as per my spec (in my first post).

    Sorry about the newbie questions, I know it must be...
  4. Replies
    9
    Views
    1,776

    OK, thanks a lot for that, it helps a lot.

    OK, thanks a lot for that, it helps a lot.
  5. Replies
    9
    Views
    1,776

    It looks like this: typedef struct student...

    It looks like this:


    typedef struct student *student_ptr;
    struct student
    {
    int ID;
    int n_units;
    char *units[1000];
    };
  6. Replies
    9
    Views
    1,776

    Simple question about array of chars

    Hi,
    I'm creating a simple database in C (part of an assignment, actually). The data fields are stored in a struct which has a numerical ID and, more importantly, an array of chars called units,...
Results 1 to 6 of 6