Circular Linked List ??

This is a discussion on Circular Linked List ?? within the C Programming forums, part of the General Programming Boards category; Hi Friends and Host; I am so sorry, I came first time having problem. I am also so much lover ...

  1. #1
    Unregistered
    Guest

    Circular Linked List ??

    Hi Friends and Host;
    I am so sorry, I came first time having problem. I am also so much lover of C programming that I can't say in words.
    But, not good to explain this now.
    My problem is,
    I want to make a circular linked List of Student Name, Id, and Phone no.
    From last several days, I couldn't. If you have source code, just help me or give me hints.
    I will be thankful if any one of you send me as early as possible.

    BYE!!!
    Nov 14, korea

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Code:
    struct node
    {
        struct node *n;
    };
    
    
    struct node myInstance;
    
    myInstance.n = &myInstance;
    *smirk* There, you have a circular list.

    Quzah.
    Last edited by quzah; 11-14-2001 at 01:16 PM.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Duplicating value of pointer to linked list
    By zephyrcat in forum C Programming
    Replies: 14
    Last Post: 01-22-2008, 02:19 PM
  2. circular doubly linked list help
    By gunnerz in forum C++ Programming
    Replies: 5
    Last Post: 04-28-2007, 08:38 PM
  3. singly linked to doubly linked
    By jsbeckton in forum C Programming
    Replies: 10
    Last Post: 11-06-2005, 06:47 PM
  4. Problem with linked list ADT and incomplete structure
    By prawntoast in forum C Programming
    Replies: 1
    Last Post: 04-30-2005, 01:29 AM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21