1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

linked list

Discussion in 'C' started by dayju, Aug 29, 2010.

  1. dayju

    dayju New Member

    Joined:
    Aug 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Code:
    typedef struct
    {
    char fname[30];
    char lname[30];
    char MI;
    }stud_name;
    
    typedef struct
    {
    unsigned long idnum;
    stud_name name;
    char course [10];
    int yr_level;
    }studtype;
    
    typedef struct
    {
    int grpnum;
    char subj[24];
    int time_sked;
    int day;
    int units;
    char rmnum;
    }class_sked;

    --sir, is this a correct definition?i have to make a program that contains the following information.i've been trying it for days but i just dont know how to access data.all i wanna do is to "add, insert, search, delete, and segregate and count total number of students according to yr and course."i hope you can help me..
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    Why dont you compile and see if it gives any error. I see it has some errors.
     

Share This Page