Linked lists

This is a discussion on Linked lists within the C++ Programming forums, part of the General Programming Boards category; I was just wondering if someone could give me some advice/links to find some info on linked lists. I've already ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    29

    Question Linked lists

    I was just wondering if someone could give me some advice/links to find some info on linked lists. I've already read over the tutorial on this site, but its just not clicking with me for some reason, and I think seeing some examples and explanations would help me.

    Any suggestions or links would be appreciated, thanks.

  2. #2
    Registered User programmer's Avatar
    Join Date
    Oct 2001
    Posts
    22

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    Talking

    hello i'm kinda new here....i need help....anyone please...
    does anyone has a code on this problem:

    write a function isPalindrome that returns 1 if the parameter pFirst points to list containing a palindrome. Otherwise, return 0.
    /*palindrome is something that is the same whether read forward or backward*/

    If the list is empty, return 1. You are not allowed to add variables. You are not alllowed to use malloc or free.

    struct structNode
    {
    char cData;
    struct structNode *pLink;
    };

    typedef struct structNode structNodeType;
    typedef structNodeType *ptrNodeType;

    int isPalindrome(ptrNodeType pFirst)
    {
    ptrNodeType pStart, pEnd, pTrail;

    /*write your code here*/

    }

    /*assume that the main() and other functions are already done*/

    thanks a lot... please email me ASAP... thanks again.

  4. #4
    Registered User programmer's Avatar
    Join Date
    Oct 2001
    Posts
    22
    Dude, This seems to be your h/m assignment ... i think you should really give it a try yourself, go through the book ... Over here we help guyz fix their problem ... not do their h/m !!!

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    29

    Smile Thanks

    Thanks, programmer, thats a good site. Looks like exactly what I needed. Some examples, some actual uses, etc.

    Thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linked Lists 101
    By The Brain in forum C++ Programming
    Replies: 5
    Last Post: 07-24-2004, 05:32 PM
  2. Map file formats and linked lists
    By Spitball in forum Game Programming
    Replies: 2
    Last Post: 03-04-2004, 11:32 PM
  3. Linked Lists Integer addition ? HELP Please??
    By green_eel in forum C Programming
    Replies: 3
    Last Post: 03-12-2003, 04:36 PM
  4. need help w/ linked lists
    By MKashlev in forum C++ Programming
    Replies: 11
    Last Post: 08-05-2002, 09:57 PM
  5. doubly linked lists
    By qwertiop in forum C++ Programming
    Replies: 3
    Last Post: 10-03-2001, 07:25 PM

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