Design an online address book to keep track of the names

Assignment Help C/C++ Programming
Reference no: EM13811404

Use the Composition (Aggregation) to Programming it on C++. I use visual studio 2012. Using classes, 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 a maximum of 500 entries. 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, the class dateType (as designed in this chapter's Programming Exercise 2), and the class addressType. Add a member variable to this class to classify the person as a familymember, 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 a maximum of 500 entries. 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 of the people between two last names. vii. Depending on the user's request, print the names of all family members, friends, or business associates.

Reference no: EM13811404

Questions Cloud

Find the companys price-to-earnings ratio : Today the company announces net income equals $12 million. They have 30 million shares outstanding, and today’s share price is $68.21. Find the company’s price-to-earnings ratio.
What was the actual average annual percentage rate : In exactly 15 months a bill of $21,200 is due. Today you deposit money such that if the account earns a target rate of return of 8.90% per annum, compounded monthly, the bill is perfectly financed. No other deposits or withdrawals have been made. You..
Integral part of the strategic management of an organization : Why and how are the following an integral part of the strategic management of an organization, i.e. strategic planning, strategic execution, and strategic control? Discuss each fully and separately. Be specific.
Conflict of interest between owners and agents : Which of the following statements is most accurate regarding agency problems? An agency problem likely occurs when there is a conflict of interest between owners and agents.
Design an online address book to keep track of the names : Use the Composition (Aggregation) to Programming it on C++. I use visual studio 2012. Using classes, design an online address book to keep track of the names, addresses, phone numbers, and dates of birth of family members, close friends, and certa..
Calculates the minimum maximum and average for each quiz : Write a Java application that calculates the minimum, maximum, and average for each quiz. Print the output results in a table format using a text area. Use loop and if statement control structures as well as Array data structure
About the firms marginal and average tax rates : Suppose a firm earns $12,000,000 in taxable income. Which of the following is correct about the firm’s marginal and average tax rates?
Real situations for the use of iris example of the developme : Powerpoint: Real situations for the use of iris example of the development of electronic services or real example of the use of the visa or an example of evolution in male with a realistic example of an example of the company (!) Was used in the past..
Establish an endowment fund : You wish to establish an endowment fund that will provide student financial aid awards every quarter, perpetually. To finance the scholarships, you will make a series of equal deposits into a savings account. The deposits will be made quarterly equal..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Const int num_years

How do you get this program to get both player input and then display results(As described on bottom) #include  const int NUM_YEARS=15;//The number of years const int NAME_SIZE=32;//The max size of the player name string

  Create constructor function which takes no inputs

You must have the constructor function which takes no inputs and randomly generates the 5 letter string for name and random integers from 20 to 40 for both age and class size.

  Type two numbers from range 20-60

Ask the user to type two numbers from range 20-60. Keep on asking until he types in the range of 20-60. Display the numbers between those two numbers in ascending order.

  Implementnbsp the lsquoguess the word game in an

implementnbsp the lsquoguess the word game in an object-oriented manner. this program would add some basic manipulation

  Write a simple java program to calculate the sum of numbers

Write a simple java program to calculate the sum of two numbers.

  A run is a sequence of adjacent repeated val

A   run   is   a   sequence   of   adjacent   repeated   values.   Using   an   array,   write   a   program   that   generates   a   sequence   of

  Prompts the user to enter an integer

Write the code that prompts the user to enter an integer between 1 and 20 (including 1 and 20), reads the value using cin, and then prints the value that they entered in a statement that begins with "You entered a ". Save this version in a separate l..

  Monkey business, a local zoo

Monkey Business, a local zoo, wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 7 array, where each row represents a di..

  Implement a class that can be used to keep track

Specify, design, and implement a class that can be used to keep track of position of a point in three-dimensional space. For example consider the point drawn at the topof the next coloumn. The point shown there has three coordinates;

  Design a class called complex

Design a class called Complex. The class enables operations on so called complex numbers. These are numbers of the form realPart + imaginaryPart *i, where the i has the value

  Write a function integerpower

Write a function integerPower(base, exponent) that returns the value of base^exponent. For example, integerPower(3, 4) = 3* 3 * 3* 3. Do not use any math library functions.

  Create a class called vehicle

Create a class called Vehicle that has the manufacturer's name (type String), number of cylinders in the engine (type int), and owner (type Person given below).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd