Find Jobs
Hire Freelancers

Double linked list

$30-5000 USD

Abgeschlossen
Veröffentlicht vor etwa 20 Jahren

$30-5000 USD

Bezahlt bei Lieferung
Get the 3 .cpp and .h files whose names start with double_list. The porblem is to extend the code in these files. The file double_list_iterator.h contains the declaration of a dlist<T> class. I have written most of the code for the member and friend functions for the class and you will find the code in double_list.cpp. Included in the dlist class is a iterator for the class - similar to how it would be written by an STL developer. 1. To the code in [login to view URL] add code for the member functions whose code has not already been written: for example, isempty(), push_back(), pop_back(), peek_front() and peek_back(). Also missing code for the iterator functions should be written. Then test the code by adding tests to the code in the file double_list_test_iterator.cpp. Make sure you exercise the code thoroughly. In addition, test the use of the iterator by writing code to find the largest value in an list - add it to the bottom of your tests in main. Make sure all your little test examples are coming out correctly, before you continue. Hint: Do these 1 at a time; e.g. write the code for a member function and then add a test to the main . Don't continue until you get that test to come out. In other words write and test the code incrementally. YOU'VE BEEN WARNED.!! To test the iterators further, add two functions - for insertion sort and addup the values In other words, add these functions to the [login to view URL] file: Note for the descriptions below: values bracketed by two iterators means all the values between the two iterators, including the first iterator but not the second iterator. // sorts the values bracketed by the two iterators template <class T> void insert_sort( dlist<T>::iterator, dlist<T>::iterator ); // adds up the values bracketed by the iterators template <class T> T addup( dlistItr<T>, dlistItr<T> ); Now add tests of these functions to the bottom of the main program in double_list_iterator_tet.cpp. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform C++
Projekt-ID: 3162677

Über das Projekt

2 Vorschläge
Remote Projekt
Aktiv vor 20 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
See private message.
$7 USD in 14 Tagen
5,0 (18 Bewertungen)
3,2
3,2
2 Freelancer bieten im Durchschnitt $18 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$29,75 USD in 14 Tagen
5,0 (5 Bewertungen)
1,8
1,8

Über den Kunden

Flagge von UNITED STATES
United States
4,8
37
Mitglied seit Nov. 10, 2003

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.