Thread: 2 d linked list

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    1

    2 d linked list

    how to create a 2d liked list?


    if i have a file

    john
    peter
    judy


    how to create a linked list to enter their week
    pay?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >how to create a 2d liked list?
    Two dimensional linked list? I may be misunderstanding, but that's probably not what you want. A 2D linked list is often referred to as a sparse matrix, and they can get very complicated even in the 2D form. Imagine the complexity of multidimensional arrays and then add the complexity of linked lists to it, that's a sparse matrix

    >how to create a linked list to enter their week pay?
    This sounds like a relatively simple operation, so I'll direct you to the Cprogramming tutorial for linked lists. It'll save me the trouble of having to type in a linked list structure yet again :P
    http://www.cprogramming.com/tutorial/lesson15.html

    -Prelude
    Last edited by Prelude; 03-16-2002 at 07:45 PM.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Linked list program need help !!!
    By dcoll025 in forum C++ Programming
    Replies: 1
    Last Post: 04-20-2009, 10:03 AM
  2. Following CTools
    By EstateMatt in forum C Programming
    Replies: 5
    Last Post: 06-26-2008, 10:10 AM
  3. Reverse function for linked list
    By Brigs76 in forum C++ Programming
    Replies: 1
    Last Post: 10-25-2006, 10:01 AM
  4. Template Class for Linked List
    By pecymanski in forum C++ Programming
    Replies: 2
    Last Post: 12-04-2001, 09:07 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM