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

  What is the output of this code fragment as it is written

In the code fragment below, the programmer has almost certainly made an error in the first line of the conditional statement.

  Use c program language and should work on linuxcomputers

use c program language and should work on linuxcomputers are frequently used in check-writing systems such as payroll

  Implement a function to recursively

Implement a function to recursively determine if a word is a palindrome. A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or reverse direction.

  Review a phonebook program

Add a command ‘d' for delete to delete an entry corresponding to a name typed by the user. Add a command "u" to allow a user to update (edit) one or more of the fields in the phonebook

  Calculate the gpa of 5 courses

Write a C++ program to calculate the Gpa of 5 courses. When users enter the grades and credits of the courses from the keyboard, the program will calculates the GPA and displays it on the screen. Can you prepare this program in C++ language? Defin..

  Write a program that allows the user to enter a measurement

Write a program that allows the user to enter a measurement in either feet or inches. If they enter feet convert it to inches. If they enter inches convert it to feet. Output the answer in both feet and inches using appropriate identification on t..

  Calculate and display the area of the rectangle

Calculate and display the area of the rectangle and the total price of the tile. Add comments in code section. Code this program in java programming.

  Generate a two-dimensional array

Generate a two-dimensional array of integers of 10 rows by 10 columns that contains 100 random numbers between 0 and 9. Print out the array (well formatted) and do the following computations

  Main program should instantiate an instance

The main program should instantiate an instance of the class Rectangle and then make calls to the member functions to input the data and output the results

  Properly store the number from variable value

1. Statement will properly store the number from variable  value  into the output file object AnsFile?

  File system with login authentication

Implement a simple file system with login authentication and access control - Construct a hash/salt/shadow based user/password creation system.

  Program that asks user to enter text and show given output

Write a program that asks the user to enter some text and then displays that text with all e's and E's replaced with 3's and all s's and S's replaced by 5's.

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