Need Help Understading a few things pertaining to Linked Lists & Data Structures

This is a discussion on Need Help Understading a few things pertaining to Linked Lists & Data Structures within the C Programming forums, part of the General Programming Boards category; Okay, so I have a test tomorrow and there is a topic that I need to know that's not in ...

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    33

    Need Help Understading a few things pertaining to Linked Lists & Data Structures

    Okay, so I have a test tomorrow and there is a topic that I need to know that's not in my notes and apparently is not in my book either.

    Here's what I was told to know about Linked Lists:

    Linked lists
    comparison to an array and to a structure as a data structure with regard to memory, type of data stored, how data accessed
    (my professor isn't a great communicator as the above statement is copied and pasted from the instructions written down.)

    Could someone explain to me just what that means? How is the data accessed, what type of data is stored and something about memory when comparing an a array to a structure as a data structure?
    Last edited by The Monkey King; 12-05-2008 at 01:01 AM.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    33
    thanks, but we didn't get into the coding part of it. I still read through it, but didn't find any answers to my question (maybe because I don't know a thing about the actual coding part). Can someone please explain to me in words because if the answers is in fact in that faq, I cannot find it because we like I said, we never went over any actual coding for linked lists.

  4. #4
    Registered User
    Join Date
    Nov 2008
    Posts
    33
    Example:

    Is this right?

    Data for a structure is accessed with a pointer (->). Data is stored as a _____? The type of memory is ____.

    That's all I need to know for the structures and and arrays.

  5. #5
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    yes, the data is indeed stored as a _____

  6. #6
    Registered User
    Join Date
    Nov 2008
    Posts
    33
    Yeah, I just made that up because I don't understand what that crappy explanation of what I need to know is asking.

  7. #7
    Registered User
    Join Date
    Nov 2008
    Posts
    33
    For example: is a linked list a data structure? That's what I mean when I say I don't understand what the topic is asking. I've been looking it up in my book, I looked through the faq, but I came up with NOTHING and it's really frustrating, especially since the test is tomorrow.

  8. #8
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,888
    Quote Originally Posted by The Monkey King
    For example: is a linked list a data structure?
    Ask your DADS. He (they?) will tell you what is a linked list.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  9. #9
    Registered User
    Join Date
    Nov 2008
    Posts
    33
    Thanks. Didn't know about this site..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  2. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  3. Can i do this: Structures and linked lists help
    By satory in forum C Programming
    Replies: 4
    Last Post: 04-25-2005, 07:49 AM
  4. Data Structures Debugging
    By 0rion in forum C Programming
    Replies: 15
    Last Post: 08-28-2004, 10:36 AM
  5. Replies: 2
    Last Post: 01-18-2003, 12:32 AM

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