Thread: chained list

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    1

    chained list

    I have this structure:

    Code:
    typedef struct member
    {
    struct member *next;
    int membernr;
    char name1[50];
    char name2[50];
    int  year;
     
    ...etc
     
    }
    How to write a functions which calculate and print on screen one list with the member, who are for 10, 20, 30... years member into one club.

    something like that

    name1_x name2_x 30 years
    name1_y name2_y 20 years


    the function void name(void) {int year=2008}
    thanks.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Mainframe assembler programmer by trade. C coder when I can.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 06:55 PM
  2. instantiated from here: errors...
    By advocation in forum C++ Programming
    Replies: 5
    Last Post: 03-27-2005, 09:01 AM
  3. How can I traverse a huffman tree
    By carrja99 in forum C++ Programming
    Replies: 3
    Last Post: 04-28-2003, 05:46 PM
  4. List class
    By SilasP in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2002, 05:20 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM