C++ Project

Encerrado Postado Dec 1, 2015 Pago na entrega
Encerrado Pago na entrega

Read attached file for question.

Goal: explore some of C++ programming’s advanced features. In this project, there are two tasks.
• Task I: write a program to create an online address book aiming to learn about fundamental concepts including class, inheritance, composition, linked list, searching, and sorting, and how to use them efficiently
• Task II: write a program to keep track of a hardware store inventory in order to become familiar with the vector type and discover how to sort records using recursive functions.
Basic features make up most of two programs, but you can write your own code to add more features, and make your programs more effective and better overall.
Task I: Using classes and linked lists, design an online address book to keep track of the names, addresses, phone numbers, and dates of birth of family members, close friends, and certain business associates. Your program should be able to handle as many entries as required.
a. Define a class addressType that can store a street address, city, state, and ZIP code. Use the appropriate functions to print and store the address. Also, use constructors to automatically initialize the member variables.
b. Define a class extPersonType using the class personType (as defined in Example 10-10, Chapter 10), the class dateType (as designed in chapter 11’s Programming Exercise 2), and the class addressType. Add a member variable to this class to classify the person as a family member, friend, or business associate. Also, add a member variable to store the phone number. Add (or override) the functions to print and store the appropriate information. Use constructors to automatically initialize the member variables.
c. Define the class addressBookType using the previously defined classes. An object of the type addressBookType should be able to process as many entries as required.
The program should perform the following operations:
i. Load the data into the address book from a disk.
ii. Sort the address book by last name.
iii. Search for a person by last name.
iv. Print the address, phone number, and date of birth (if it exists) of a given person.
v. Print the names of the people whose birthdays are in a given month.
vi. Print the names of all the people between two last names.
vii. Depending on the user’s request, print the names of all family members, friends, or business associates.
viii. Add or delete a new entry to the address book.
ix. Allow the user to save the data in the address book.
Note that your program must use classes, linked lists, as well as at least one of searching and one of sorting algorithms discussed in the class. However, sequential search and sort algorithms cannot be used in this task due to its high time and space computational complex.
Task 2: Write a program to keep track of a hardware store inventory. The store sells various items. For each item in the store, the following information is kept: item ID, item name, number of pieces ordered, number of pieces currently in the store, number of pieces sold, manufacturer’s price for the item, and the store’s selling price. At the end of each week, the store manager would like to see a report in the following form:
The total inventory is the total selling value of all of the items currently in the store. The total number of items is the sum of the number of pieces of all of the items in the store.
The program should be menu driven, giving the user various choices, such as
• checking whether an item is in the store, • selling an item, and • printing the report.
• After inputting the data, sort it according to the items’ names. Also, after an item is sold, update the appropriate counts.
Initially, the number of pieces (of an item) in the store is the same as the number of pieces ordered, and the number of pieces of an item sold is zero. Input to the program is a file consisting of data in the following form:
itemID itemName pOrdered manufPrice sellingPrice Use seven parallel vectors to store the information. The program must:
• contain at least one function to input data into the vectors
• contain at least one function to display the menu
• contain at least one function to sell an item
• contain at least one function to print the report for the manager • use a recursive ( but not iteration) algorithm to sort
Additional requirements:
1) It is very important that you write easily readable, well-designed code.
2) Include a README file (.txt), with some basic documentation and instructions on how to use your program. Also include in this README what problems you had with your project, what the challenges were, and what would you have done differently if you could do it again.
3) Include a project description file (.doc). In the file, you should introduce you project, explain the design of your project (e.g., the architecture of project), and talk about challenges that you faced when you were working on your project and listed your solutions. (Optional) highlight unique features of your project.

Programação C++

ID do Projeto: #9020290

Sobre o projeto

8 propostas Projeto remoto Ativo em Jan 7, 2016

8 freelancers estão ofertando em média $46 nesse trabalho

vano101

A proposal has not yet been provided

$25 USD in 2 dias
(970 Comentários)
7.3
utkarshkatiyar19

A proposal has not yet been provided

$50 USD em 1 dia
(310 Comentários)
7.2
hbxfnzwpf

I am very proficient in c, c++. I have 16 years c++ developing experience now, and I have worked for 6 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used Mais

$120 USD in 2 dias
(96 Comentários)
6.6
rinabuoy13

A proposal has not yet been provided

$30 USD em 1 dia
(32 Comentários)
5.4
hoangduong97

Hello, I am experienced and specialized in C and C++ and Python programing. I have taken part in many competitions, including national competition, in which I won 2nd prize. I always work with responsibility and qualit Mais

$45 USD em 1 dia
(21 Comentários)
3.4
furqan463

A proposal has not yet been provided

$25 USD em 1 dia
(1 Comentário)
1.1
avni2sharma1985

Hi Sir, I am trying to setup as a freelancer. I have worked with Top MNC's working on Telecom and Networking Projects on Linux Platform. I have 8 years experience in C/C++/JAVA programming in development only and Mais

$35 USD em 1 dia
(0 Comentários)
0.0
saledddar

Can be delivered in 3 days at most, a well designed and commented code, i can also include a simple GUI for you using QT

$35 USD in 3 dias
(0 Comentários)
0.0