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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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