1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linked list program

Discussion in 'C' started by anoop4real, Dec 19, 2006.

  1. anoop4real

    anoop4real New Member

    Joined:
    Dec 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Hai I am new member of go4expert, I m badly in need of a solution for the below problem,please help me with the code

    Here are the assignment requirements -
    LinkedList.exe, upon launching will read the attached txt file and create a linked list data structure dynamically.
    Each node of the linked list will have a name field and a score field.
    The following are the options that the program should provide for operating on the linked list
    Add Node - Prompts for a name and score and adds it at the end of the list
    Delete Node - Prompts for a name and deletes the node with that name
    Insert Node - Same as Add Node, but takes an additional parameter of the location in which this new node is to be inserted
    Sort Nodes - Should take a parameter A (alphabetical sort based on name) or N (numeric sort based on score)
    Display Nodes -
    Save Nodes - This will output the curent list and save it into the same Scores.txt file
    Exit - Exits the Application
    please send me the code if any body knows is as early as possible.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Try some coding of your own at least.
     
  3. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    I'll add a personal comment. The purpose of the forum is to disseminate information from which you may learn. Doing your work for you is a disservice to you, and to any potential employers who might think that you actually learned, simply because you can show grades or course completions. Furthermore, it is lazy and, quite often, dishonest. Most of us have had enough school to recognize homework assignments when we see them.
     
  4. anoop4real

    anoop4real New Member

    Joined:
    Dec 18, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    Thanks for the piece of advice and co-operation (and the preaching) ,only because of that I was able to do the program correctly :D

    Regards
    Anoop4real
     
  5. wrecker

    wrecker New Member

    Joined:
    Mar 12, 2007
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    do the code yourself and in case of any dificulty can post ques. Everybody will help you...
     

Share This Page