Thread: Linked List Problem

  1. #1
    Registered User
    Join Date
    Aug 2008

    Linked List Problem

    "I'm very much innocent about a linked list, but we have a case study about it"
    Last edited by llinocoe; 09-27-2008 at 10:54 PM.

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    * Don't cast malloc
    * Indent before you go any further
    * Don't use getch()
    * Don't use void main()
    * free() memory after you've finished with it

    A start would be changing, to a character array (or a pointer). If you wrote this entire code and you understand it then it shouldn't be a problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help sorting a linked list. Beginner
    By scarlet00014 in forum C Programming
    Replies: 1
    Last Post: 09-27-2008, 06:16 PM
  2. singly linked circular list
    By DarkDot in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2007, 08:55 PM
  3. Replies: 6
    Last Post: 03-02-2005, 02:45 AM
  4. Linked list with two class types within template.
    By SilasP in forum C++ Programming
    Replies: 3
    Last Post: 02-09-2002, 06:13 AM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM