C++ Data Structure
Здраствуйте, необходимо сегодня до 17 00 по Киеву сделать 2 задания для теста по Data Structure.
Implement an unbounded Queue (a First-In-First-Out structure using sequential memory storage) as a template structure (aimed at storing values of any type), and the methods operating on this structure (not more than listed below; it is allowed to omit these which are not used in the program one submits):
the default constructor,
the destructor,
the copy-constructor,
the comparison operator==,
push – adding a value to the queue,
pop – removing the first value from the queue or throwing an empty queue exception,
removeGreater – removing from the queue all the values greater than the one given as the parameter,
front – returning the first value or throwing an empty queue exception,
back – returning the last value or throwing an empty queue exception,
empty – informing whether the queue is empty,
print – printing all the items from the queue.
Implement a structure of a Task with a description, a project name and a duration (in hours), the default constructor, proper setters and gettters for the attributes and all the operators necessary to complete the further part of the task.
Write a program which implements operations on schedules being queues of Task structures. Use the Queue structure to create schedules for two employees.
Allow the user to choose among the following operations:
add a new task (with attributes given by the user) at the end of chosen schedule,
print the description and the duration of the first task in the chosen schedule (or print a message if the schedule is empty),
compare both schedules if they are the same or not (contain the same tasks),
[*] print all the data of all the tasks of the chosen schedule (using the print method of the schedule),
[*] move the first task from the beginnig of one schedule to the end of another, but only if the last task in the target schedule belongs to the same project as the one to be moved (or print a message),
[**] remove from the chosen schedule all the tasks longer than the value given by the user,
[**] copy all the tasks from one schedule to the end of another (preserving their original order, the source schedule remains unchanged).
Aktualne zlecenia dla freelancerów w kategorii C i C++
Inżynier infrastruktury proxy mieszkalnychBudujemy sieć proxy dla użytkowników od podstaw — w pełni własną, bez dostawców zewnętrznych. Potrzebujemy jednego wyjątkowego inżyniera sieci, który zbuduje całą podstawę techniczną. Co zbudujesz: - SDK w tle dla Androida, które kieruje ruch proxy przez urządzenia użytkowników… C i C++, DevOps ∙ 3 dni 1 godzina temu ∙ 12 ofert |
Dobrobka w istniejącej wersji 1c detalicznego bloku dla RC (centrum dystrybucji)Ogólnie wyjaśnię, co mamy za bazę - jest ogólny serwer, gdzie znajduje się baza Detal (gdzie rejestrowane są wszystkie przychody) - baza UTP, do której przelewają się wszystkie sprzedaże - liczy się marża, stany magazynowe - małe bazy detalicznych sklepów. W przypadku wymian,… C i C++, C# ∙ 3 dni 16 godzin temu ∙ 6 ofert |
Mistrzowska program «KONSTRUCTOR»
15 238 PLN
Szukamy bardzo doświadczonego programisty C++ do modernizacji istniejącego oprogramowania (programu głównego). Program odpowiada za tworzenie pochodnego oprogramowania reprezentującego sesje audiowizualnej korekcji psychologicznej. Obecna wersja jest napisana w czystym WinAPI… C i C++, Aplikacje desktopowe ∙ 8 dni 19 godzin temu ∙ 19 ofert |
Pisanie kodu dla ArduinoPotrzebne jest opracowanie oprogramowania dla wagowego dozownika opartego na Arduino Uno. Komponenty: Arduino Uno R3 HX711 + czujnik tensometryczny Wyświetlacz LCD1602 I2C Matryca LED MAX7219 8x32 5 przycisków sterujących 4-kanałowe przekaźniki 2 lampy sygnalizacyjne Wibromagnes… C i C++, Systemy wbudowane i mikrokontrolery ∙ 10 dni 4 godziny temu ∙ 15 ofert |
Trzeba dokończyć projekt lub udzielić konsultacji.
82 PLN
|