Online address book to keep track of the names

Assignment Help Basic Computer Science
Reference no: EM131368545

In C++, 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 data members.

b. Define a class extPersonType using the class personType (as defined in Example 1-12, Chapter 1), the class dateType (as designed in Programming Exercise 2 of Chapter 2), and the class addressType. Add a data member to this class to classify the person as a family member, friend, or business associate. Also, add a data member to store the phone number. Add (or override) the functions to print and store the appropriate information. Use constructors to automatically initialize the data members.

c. Derive the class addressBookType from the class arrayListType, as defined in this chapter, so that an object of type addressBookType can store objects of type extPersonType. An object of type addressBookType should be able to process a maximum of 500 entries. Add necessary operations to the class addressBookType so that the program should perform the following operations:

i. Load the data into the address book from a disk.

ii. Search for a person by last name.

iii. Print the address, phone number, and date of birth (if it exists) of a given person.

iv. Print the names of the people whose birthdays are in a given month or between two given dates.

v. Print the names of all the people having the same status, such as family, friend, or business.

vi. Print the names of all the people between two last names.

Reference no: EM131368545

Questions Cloud

How are erds different from flow charts : 1. How are ERDs different from flow charts? 2. When would you expect web page performance to be slow in relation to databases?
Describe ethical dilemma giving appropriate background info : M3A1 BUS 323- Describe ethical dilemma, giving appropriate background information. The term "dilemma" implies that there are pros and cons to various options, even if some are clearly more socially acceptable than others.
Example of a combination of security controls : In your own words describe what is meant by "defense-in-depth" in security design. Give an example of a combination of security controls that you have seen implemented that show how the combination of security factors improve the overall security.
Observe the time progression of industrialization : In this lab, you will observe the time progression of industrialization and human development to help you write up a scientific paper that centers on the following: If current human development does not change, will groundwater sustainability be af..
Online address book to keep track of the names : In C++, 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..
Why is art an important component of a culture : Why are holistic approaches to teaching important for Indigenous student learners and Holistic approaches to teaching enhance Indigenous student learner outcomes by emphasizing teacher and Elder collaboration, cultural values and language example u..
Write an academic paper on a topic : write an 8-10 page academic paper on a topic, approved by the instructor, relevant to the course subject matter. The paper must strictly follow the format provided in the assignment, cover all aspects/sections listed, adhere to proper grammar, wor..
Discuss two drawbacks of ipv4 : Discuss two drawbacks of IPv4 and how IPv6 addresses those drawbacks.
Analyze the role of nurses as change agents : Write a 3- to 5-page paper which includes the following: Analyze the role of nurses as change agents in facilitating the adoption of new technology

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Build a responsive mvc mobile first voting application

Build a responsive MVC mobile first voting application. Client should be able to vote for or against one issue

  Revise please revise the attached report to reflect a

please revise the attached report to reflect a company that sells airline parts. it must be

  System capabilities for the company

Please include title page and reference page with references. This term paper needs to be in APA style. Include page numbers at the top right corner of each page.  The title page includes: title, name, date, course title, and professor's name. Also, ..

  Tsee economic espionage and the protection of trade secrets

economic espionage and the protection of trade secrets have become increasingly important as domestic and international

  Find the second largest element of a set of n elements drawn

Find the second largest element of a set of n elements drawn from an arbitrary totally ordered set in as small a number of comparisons as possible. Only binary comparisons are allowed.

  Write a program to solve a problem of stack

[M] Write an IA-32 program to solve Problem 2.22 in Chapter 2. Assume that the element to be pushed/popped is located in register EAX, and that register EBX serves as the stack pointer for the user stack.

  Explain the different modes of data transfer

Explain the different modes of data transfer

  What is the swap space amount for the bash command

If using a long listing and no process modifiers, what is the swap space amount for the bash command?

  Calculates the product of a series of integers

(Variable-Length Argument List) Write an application that calculates the product of a series of integers that are passed to method product using a variable-length argument list. Test your method with several calls, each with a different number of ..

  Create a table showing the estimated means and proportions

Create a table showing the estimated means and proportions (and estimated standard errors) for each variable in each imputed data set.

  Analyze the key roles the agile coach plays

Evaluate the importance of being an agile coach on the project team. Analyze the key roles the agile coach plays in team communication and facilitation activities

  Optimal cash replenishment level

What will be its optimal cash replenishment level? (Enter your answer in dollars not in millions. Round your answer to 2 decimal places.)

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