Create contactnodes and use the nodes

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

Contacts (C++) You will be building a linked list. Make sure to keep track of both the head and tail nodes.

(1) Create three files to submit. Contacts.h - Class declaration Contacts.cpp - Class definition main.cpp - main() function (2) Build the ContactNode class per the following specifications: Parameterized constructor. Parameters are name followed by phone number. Public member functions InsertAfter()

GetName() - Accessor

GetPhoneNumber - Accessor

GetNext() - Accessor

PrintContactNode() Private data members string contactName string contactPhoneNum ContactNode* nextNodePtr Ex. of PrintContactNode() output: Name: Roxanne Hughes Phone number: 443-555-2864 (3) In main(), prompt the user for three contacts and output the user's input.

Create three ContactNodes and use the nodes to build a linked list.

Ex: Person 1 Enter name: Roxanne Hughes Enter phone number: 443-555-2864 You entered: Roxanne Hughes, 443-555-2864 Person 2 Enter name: Juan Alberto Jr. Enter phone number: 410-555-9385 You entered: Juan Alberto Jr., 410-555-9385 Person 3 Enter name: Rachel Phillips Enter phone number: 310-555-6610 You entered: Rachel Phillips, 310-555-6610

(4) Output the linked list.

Ex: CONTACT LIST Name: Roxanne Hughes Phone number: 443-555-2864 Name: Juan Alberto Jr. Phone number: 410-555-9385 Name: Rachel Phillips Phone number: 310-555-6610

Reference no: EM131145415

Questions Cloud

How example correlates with various element of platos cave : Make sure you explain precisely how your example correlates with the various elements of Plato's cave. Then, in the second part of the paper, compare/contrast Plato's metaphysical views with the metaphysical views of either Aristotle or Buddhism.
Reflect on the feedback provided by your instructor : Reflect on the feedback provided by your instructor on the draft of the 10 Strategic Points that you previously completed. Integrate that feedback as well as your own new ideas into a revised draft the 10 Strategic Points for the potential dissert..
What was the balance of payments of pecunia in that year : How would your answer to (b) change if you learned that foreign central banks had purchased $600 million of Pecunian assets in 2008? How would these official purchases enter foreign balance of payments accounts?
Determining whether to assemble the finished bicycles : Your firm is one of the last remaining manufacturers of bicycles in the United States. Z-Mart is a U.S. retail chain with nearly 1,000 stores in fifteen countries. Z-Mart has asked you to prepare a proposal for a large number of bicycles to be sold a..
Create contactnodes and use the nodes : Create three ContactNodes and use the nodes to build a linked list -  Roxanne Hughes Phone number: 443-555-2864 (3) In main(), prompt the user for three contacts and output the user's input.
What are the main steps in building a strategic plan : What are the main steps in building a strategic plan for a hospital? What are the most important elements of the plan
Differences between depreciation expense and accumulated : Explain the differences between depreciation expense and accumulated depreciation.
Distinguish between the two categories of adjusting entries : Distinguish between the two categories of adjusting entries, and identify the types of adjustments applicable to each category.
What are the roles of the corrections organization : What are the roles of the corrections organization, the probation officer, and the offender in the outcome of the probationary period? When can we determine the probationary period be deemed a success?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program to convert between rectangular

Write a program to convert between rectangular and cylindrical coordinates, based upon user input. For example, if the user wants to convert cylindrical to rectangular coordinates, the user would input r, ?, z values and the program would output x, y..

  Evaluate the tip amount that should be added

Write a program that will be used to evaluate the tip amount that should be added to a restaurant charge. Allow the user to input the total, before taxes and the tip percentage (15% or 20%).

  Write a program that reads a file

Write a program that reads a file consisting of students test scores in the range 0-200.

  Write a c program for addition

Write a C Program for addition

  If else statements

Define some everyday if else statements you use to determine action. What are the branches of your statement?

  Program to declare array alpha of components of type int

Write C++ statements to do the following: Declare an array alpha of 15 components of the type int. Output the value of the tenth component of the array alpha.

  Defines the graphic objects in a scene

The first project involves adding several classes to a skeleton project, which reads in a scene definition file that defines the graphic objects in a scene and creates those objects.

  Create an array of slip objects

Create an array of Slip objects. You should populate the array with 10 slips, entering information into all fields of the Slip object. (Make sure that all customers have a valid slip number in their information, and mark that slip as rented.)

  Exploring health care professions

Exploring Health Care Professions: 1) Go to the textbook companion Web site or CD. Explore the Professional Profiles Videos. NOTE: You will also be using the profession you choose in this assignment to answer questions for later lessons in the course..

  Create a file, shared.txt

When your program starts, it shall do the following:1. Create a file, SHARED.txt, in the current directory (cwd). 2. Write it's pid (Process ID) followed by a Carriage Return and Newline in the file.

  Determine the meaof the numbers in the array

Determine the mean(average) of the numbers in the array, and output the reslt. Use a subprogram to input the numbers, a function to find the mean.

  Write a class with the following static methods

Wordcount: This method should accept a reference to a String object as an argument and return the number of words contained in the object.

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