Thread: Linked list

  1. #1
    Registered User
    Join Date
    Sep 2011

    Linked list

    Last edited by johnhuge; 09-23-2011 at 08:51 PM.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    How do you know how many pages are in a stack of paper? Go through them one at a time keeping count.
    If each page has a number written on it, how do you average those numbers? Go through them one at a time, keeping a count and a sum. Then do some division.

    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Sep 2011
    thanks for your reply can you give me an example on how to keep count on every page.Also how would i pass in the balance in the link list to the function to take the average.


  4. #4
    Join Date
    Aug 2010
    Ontario Canada
    John... please put your code back up in message #1 ... It's beyond bad form to go deleting stuff like that. You deprive others of the chance to learn from it!

    EDIT: What is this a freaking epidemic?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Copying a linked list into another linked list
    By paranoidgnu in forum C Programming
    Replies: 7
    Last Post: 07-19-2011, 06:21 PM
  2. Replies: 4
    Last Post: 05-01-2010, 10:19 PM
  3. single linked list to double linked list (help)
    By Countfog in forum C Programming
    Replies: 8
    Last Post: 04-29-2008, 08:04 PM
  4. singly linked list to doubly linked list
    By t48j in forum C Programming
    Replies: 3
    Last Post: 03-23-2005, 05:37 PM
  5. Replies: 6
    Last Post: 03-02-2005, 01:45 AM

Tags for this Thread

Website Security Test