Problem in Linked List implement C++ - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Problem in Linked List implement C++

B037770B037770 Posts: 1Member
Every node must contain at least 2 field materials (key1,key2), as key1 as primary, key2 as the secondary (i.e. key1 small must arrange at front, if key1 is same, then key2 small platoon in front).

Basic requirements:
1. Input data
assigns additional (key1, key2) pair, take this pair to put in suitable place
2. Deletions
Assigns the deletion (key1, key2) pair
Assigns key1 which wants to delete (All tallies all must delete)
Assigns key2 which wants to delete (All tallies all must delete)
3. Search data
Assigns (key1, key2)pair, passes on is located the several cis-position, if does not exist, then passes on - 1.
4. Output data
According to has continues the order in series.

Addition
The increase may willfully replace the key1, key2 primarily vice-increasing sorting way

I can't figure out how to write the program, I don't understand linked list that much. Do I need to use function recalls? Will some kind-hearted and intelligence persons write it for me PLEASE?

Thanks,
Joe

Comments

  • veliusvelius Posts: 456Member
    : Every node must contain at least 2 field materials (key1,key2), as
    : key1 as primary, key2 as the secondary (i.e. key1 small must arrange
    : at front, if key1 is same, then key2 small platoon in front).
    :
    : Basic requirements:
    : 1. Input data
    : assigns additional (key1, key2) pair, take this pair to put in
    : suitable place
    : 2. Deletions
    : Assigns the deletion (key1, key2) pair
    : Assigns key1 which wants to delete (All tallies all must delete)
    : Assigns key2 which wants to delete (All tallies all must delete)
    : 3. Search data
    : Assigns (key1, key2)pair, passes on is located the several
    : cis-position, if does not exist, then passes on - 1.
    : 4. Output data
    : According to has continues the order in series.
    :
    : Addition
    : The increase may willfully replace the key1, key2 primarily
    : vice-increasing sorting way
    :
    : I can't figure out how to write the program, I don't understand
    : linked list that much. Do I need to use function recalls? Will some
    : kind-hearted and intelligence persons write it for me PLEASE?
    :
    : Thanks,
    : Joe
    :

    A quick Google search for C++ Link List will net you plenty of examples and various explanations of Link Lists and how they are written.
    [hr]
    We'll be an army of theives
    Of self-freed slaves
    Of mild-mannered maids
    We'll fight with whispers and blades
    So get ready, a new day is dawning
    - The New Wild West -- Jewel
Sign In or Register to comment.