Find Jobs
Hire Freelancers

C++ Help

$30-5000 USD

Завершено
Опублікований about 20 years ago

$30-5000 USD

Оплачується при отриманні
Design and code a template container object and execute tests of this object as it contains different data types. The template object will model a data structure or container, an array is the most likely choice. The implementation of the array in the template will use dynamic allocation of memory with the new and delete operators. The template will have the following methods and members. **_METHODS: _**- A default constructor that will allocate memory and assume a size of 10 for the number of elements in the container. - A one-argument constructor that will allocate memory and allow the user to override the default size of the container. - A copy constructor that will perform a deep copy of the container object. - A destructor that will delete the dynamic memory used for the container. - Overloaded operator = that will also perform a deep copy of the template container. - Overloaded operator [] that will access individual elements of the container. - A generic method that will sort the elements in the container, using either the insertion sort or bubble sort technique. **_DATA: _**- Pointer to generic data type - Integer value representing the size of the container ## Deliverables Design and code a template container object and execute tests of this object as it contains different data types. The template object will model a data structure or container, an array is the most likely choice. The implementation of the array in the template will use dynamic allocation of memory with the new and delete operators. The template will have the following methods and members. **_METHODS: _**- A default constructor that will allocate memory and assume a size of 10 for the number of elements in the container. - A one-argument constructor that will allocate memory and allow the user to override the default size of the container. - A copy constructor that will perform a deep copy of the container object. - A destructor that will delete the dynamic memory used for the container. - Overloaded operator = that will also perform a deep copy of the template container. - Overloaded operator [] that will access individual elements of the container. - A generic method that will sort the elements in the container, using either the insertion sort or bubble sort technique. **_DATA: _**- Pointer to generic data type - Integer value representing the size of the container **_PROGRAM: _**- Declare a template container of data type int (built-in), and read data into array. - Sort int data in template using the generic sort method, and display the results. - Declare a template container of data type string objects (from c++ standard library), and read data into array. - Sort string data in template using the generic sort method, and display the results. - Declare a template container of data type fraction objects (user-defined), and read data into array. - Sort fraction data in template using the generic sort method, and display the results. **_NOTES: _**The Simpler the template container class is, the better it will work as a generic container object. Do not add any other methods or members to the template, except perhaps for private utility functions used by the generic sort method. 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 Windows XP Microsoft Visual C++ 6.0
ID проекту: 3198984

Про проект

4 пропозицій(-ї)
Дистанційний проект
Активність 20 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
See private message.
$7 USD за 2 дні(-в)
5,0 (1 відгук)
0,0
0,0
4 фрілансерів(-и) готові виконати цю роботу у середньому за $42 USD
Аватарка користувача
See private message.
$102 USD за 2 дні(-в)
4,9 (62 відгуки(-ів))
5,4
5,4
Аватарка користувача
See private message.
$17 USD за 2 дні(-в)
5,0 (51 відгуки(-ів))
5,3
5,3
Аватарка користувача
See private message.
$42,50 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED STATES
United States
5,0
11
На сайті з трав. 3, 2004

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.