Find Jobs
Hire Freelancers

C++ Program to be modded

$30-250 AUD

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

$30-250 AUD

Оплачується при отриманні
Overview of the problem You are to continue the development of software for a simple web shop. To extend the simulation we wish to now introduce the following features: there will now be three types of products: weapons, clothing and survival gear. In addition objects should be dynamically created and destroyed as customers login and logout. The shop should operate in a continuous loop enabling customers to come and go. Programming additions. Inheritance must be made use of in this assignment. You should modify the product class from assignment 1 to be a generic product class with similar features as before. From this generic product you will derive the specific products: weapons, clothing and survival gear. It is likely you will make use of polymorphic functions, a simple example would be to have different display functions. A high scoring assignment would also make use of pointers and linked lists instead of arrays. Product details Weapons The weapon class should inherit the name, model and price from the product class and in addition have an attribute called purpose eg for a shotgun the purpose might be: game_shooting. The read and display functions will have to be modified to include this extra attribute (polymorphism). Clothing The clothing class should include an additional data member for the size and another for type. For example a flak_jacket could be size Large and type is Jacket. Functions for reading and displaying will have to be modified. Survival Gear The survival gear class will include extra attributes of type and shelf life. For example Beef Jerky could be type Food and shelf life of 6 months. Data files There will be three data files: [login to view URL], [login to view URL] and survival.dat. The formats of these files will be similar to the original product file but with extra data. Example [login to view URL] Name Model Price Purpose Chainsaw CS001 59.95 Cutting Bowie_knife BK001 39.95 Skinning Allow for at least 10 entries in each file though the initial sample file Study each file by opening in an editor such as Notepad to ensure you understand the structure so you can read it correctly. Order class structure Your order class structure needs to be modified from assignment 1 to allow for multiple product types. You need to allow for the possibility a customer will have multiple products of the types described earlier. A simple Pass level solution might have 3 array variables one for each type. Note: a single array cannot contain different types. A Distinction level or above would use a linked list and dynamically create the products as required. The add, search, delete and display functions will need to be modified accordingly. Operation of your program Your program should operate in a continuous loop allowing a customer to login and logout then another customer etc. User level interaction will be the same as in assignment 1, customers can choose products add them to the order, review the order, delete products then checkout and get an invoice. Customer details such as name and address and credit card number should be able to be entered as part of the checking out process.
ID проекту: 1639124

Про проект

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

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

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

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
I am confident to handle your project. Please check your inbox for details, thank you.
$30 AUD за 1 день
4,9 (60 відгуки(-ів))
5,2
5,2
7 фрілансерів(-и) готові виконати цю роботу у середньому за $44 AUD
Аватарка користувача
I m ready to start now. Thanks
$60 AUD за 10 дні(-в)
4,9 (62 відгуки(-ів))
6,6
6,6
Аватарка користувача
Hi, I am C++ expert and can surely help you here. Thank You
$100 AUD за 0 день
4,8 (121 відгуки(-ів))
6,0
6,0
Аватарка користувача
Hi, kindly check your inbox for my inquiries. Thanks.
$30 AUD за 0 день
4,9 (124 відгуки(-ів))
5,6
5,6
Аватарка користувача
expert programmer in c++ and confident to do the task :)
$30 AUD за 2 дні(-в)
4,8 (16 відгуки(-ів))
3,7
3,7
Аватарка користувача
Already done this assignment. Accept my bid.
$30 AUD за 0 день
5,0 (6 відгуки(-ів))
3,4
3,4
Аватарка користувача
Hi! I can do it for you.
$30 AUD за 0 день
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор AUSTRALIA
Goldcoast, Australia
0,0
0
На сайті з трав. 13, 2012

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

Інші роботи від цього клієнта

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