Give appropriate accessor methods to set and get the data

Assignment Help Computer Engineering
Reference no: EM1331523

Design an address book application to keep track of the names, addresses, phone numbers, and birthdays of family, friends, and colleagues. You may implement your own linked list library, but it is recommended that you make use of the linked list API in the C++ standard template library.

At a minimum, your program should implement at least one object called AddressRecord and should hold the following data:

* recordId (must be an int. This field uniquely identifies a record in your address book)
* firstName
* lastName
* contactType (i.e. friend, family, etc.)
* streetAddress
* city
* state
* zipCode

Provide the appropriate accessor methods to set and get the data. The main program must provide the following functionality.

1. When the program is first started, it should read a data file "address.dat", if it exists, and load the data from this file in the address book’s linked list.

2. When the program exits, it should save all of the entries in the address book linked list into the "address.dat" data file. At this point, if this file does not exist, the program should create it.

3. Provide a text-based user interface to allow the user to operate on the address book data. The program should allow the user to:
(a) view all entries in the address book;
(b) search for an entry in the address book by last name (if the entry exists, print the record);
(c) add an entry to the address book;
(d) delete an entry from the address book; and
(e) modify any of the data (except the recordId) for given address book entry selected by the user. These operations should work on a linked list that holds all of the entries of the address book.

Reference no: EM1331523

Questions Cloud

Determine the appropriate rewards : If you were a leader in this organization, determine the appropriate rewards that would best motivate employees toward achieving the desired strategy.
What is your opinion : At the end of 2008 the number was already 42 1 and in the year 2010 the WTO expects a total number close to 350 of additional Free Trade Agreements implementations, nearly doubling the existing amount (World Trade Organization, 2010).
How does stage affect the hr function : What are the stages a firm typically goes through as it grows internationally and how does each stage affect the HR function?
Explain ebusiness concepts : This discuses the scalability of an e-Business IT infrastructure, internet-based technologies to automate the supply chain, strategic opportunities for e-Commerce enabled supply chains.
Give appropriate accessor methods to set and get the data : create an address book application to keep track of the names, addresses, phone numbers, and birthdays of family, friends, and colleagues. You may implement your own linked list library, but it is recommended that you make use of the linked list A..
Depicting strategic groups : Which of the following are strategic factors often used in depicting strategic groups?
Human resources methods for proficie : Staffing Strategies and Human Resources Methods for Proficie - What are your preliminary recommendations with regard to centralizing the staffing function under the Human Resources umbrella
Explain restricted information on the internet : Should information on the Internet be unrestricted? Why or why not? Provide examples.
Make binary search tree that will accept integers in order : modify a C++ Binary Search Tree that will accept integers in this order: 35, 18, 48, 72, 60, 25. Ask user for input and search tree utilizing integer input. Return "True" if input integer is found or "False" if it is not found in tree.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What will do to get deadline to receive a passing grade

What will do to get deadline to receive a passing grade? You have to complete and submit course project previous to the deadline to receive a passing grade for this course.

  Carrying out the investigation

You work for the mid-size corporation that is known for its inventions that does the lot of work of copyright and patent. You are investigating an employee suspected of selling and distributing animations generated for your corporation.

  Give some of the major threats to information systems

What will happen if that information were compromised? What are some of the main threats to information systems? Provide three examples to support your answer.

  Security accounts manager

The security accounts manager (SAM) database consists of the information on all user profiles. User account set-up populates the database. Explain the fields and options linked with user account set-up.

  Program can be used with a video rental business

Extend above with a Rental class. This class must store a Movie that is rented, an integer representing the ID of the customer who rented the movie, and an integer indicating how many days late the movie is.

  Create an announcement of the new system roll out

There are five centers with about 650 members and 30 employees in each location. The system will be used by both members and fitness consultants to track participation. The primary purpose is to assist the fitness center in obtaining the competiti..

  Give some suggestions for resolving those issues

define some of the issues surrounding widespread access to some of the multiple health knowledge sources available on the internet.

  Using access qbe or sql

Using the Access QBE or SQL, produce and run the view-equivalent queries to answer the questions that follow.

  Launching the radical innovation

Assume you wish to launch the radical innovation. You have the working prototype and have begun to test the early adopter market.

  Detecting problem behind slow system booting

Suppose you have observed that your system is performing slower than the usual. Which system resources are likely to be at the root of the problem?

  How to produce a function mult-stream

How to produce a function mult-stream.

  How to protect your network to keep data safe

describe how to protect your network to keep data safe from loss or damage.

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