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

  What are abstract classes

What are abstract classes

  Calculate both the total value of revenue

Write the FUNCTION calculate that receives the four revenue values firstQ, secondQ, thirdQ, forthQ through the parameter list, calculates both the total value of revenue

  Bare in mind this is a program

Bare in mind this is a program with the audience being lawncare and landscaping people. So the events will generally be to know how often a client wants their lawn mowed.

  Display all entries in order by ascending number of atoms

We have been given a file of chemical formulae, specifically hydrocarbons that consist of only hydrogen and carbon atoms.

  Find all the prime numbers between 90,000 and 100,000

Print out the nonzero values in the array and that will be the prime numbers. Print out the numbers 7 per line and make sure they line up on the last digit. (setw(8)???)

  Need a program that has the user enter a string

Need a program that has the user enter a string. The program will test to see if its a exact palindrome like "civic" or "level". then it should test if its an inexact palindrome like "a nut for a jar of tuna".

  Prepare a linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM

  What is the estimated net operating income

What is the estimated net operating income for July, if the company always uses an estimated predetermined plantwide overhead rate of $7 per direct labor-hour?

  Develop a class event to model events scheduled

After all the events have been entered, the program should display a schedule of events in chronological order. Attached are the program files for structure/class and sorting. I need in c++ hide problem

  Write a program that reads a sequence of names one per line

Write a program that reads a sequence of names, one per line, and then sorts and prints them. Write and test a function to reverse a C-string in place, without any duplication of characters.

  A perfect solution is impossible or too expensive

Optimization is often encountered in engineering problems. More often than not, a perfect solution is impossible or too expensive to find and implement. Therefore, we resort to sub-optimal, yet useful, solutions. This assignment tackles a classical p..

  Where may the class be accessed

What is an object's lock and which object's have locks? If a class is declared without any access modifiers, where may the class be accessed?

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