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 that counts and prints the number of lines

Write a program that counts and prints the number of lines, words, and letter frequencies in its input. To where it bent in the undergrowth; would produce the output.

  Write a short c++ function

Write a short C++ function, isMultiple, that takes two positive long values, n and m, and returns true if and only if n is a multiple of m, that is, n = mi for some integer i.

  Determining the cybercrime adversaries

How should we balance the need to collaborate and cooperate for the benefit of all with the need to maintain maximum advantage (if however slight) over our cybercrime adversaries? Discuss thoroughly.

  Write a program that accepts two real numbers

Write a program that accepts two real numbers from a user and a select code. If the entered select code is 1, have the program add the two previously entered numbers and display the result

  Write a program that inputs a dollar amount to be printed

Write a program that inputs a dollar amount to be printed on a check and then prints the amount in check-protected format with leading asterisks if necessary

  Write short c program to develops two processes

Write down a short C program which develops two processes. Each process must repeatedly write its own unique message to test file, one character at time. Do you see garbled messages in the file? Explain why or why not?

  Describe built-in functions in c++

Describe Built-in Functions in C++

  Explain initialize variables counting the lines and letters

If the output file cannot open, exit the program. Initialize variables counting the lines and letters. Write a program that reads a given text file, outputs the text file as is, and also prints the number of lines and the number of times each lette..

  Derive class weekday from class datetime

We can retrieve any one of the date-time structure member using strftime - Derive class WeekDay from class DateTime such that WeekDay::display() will display local date time using values from the parameters and the corresponding weekday.

  Stability in an ever-changing technology world

Where do you think C++ and coding games in C++ is headed in the next five years? How about in the next 10 years? Do you think there are any significant improvements that need to be made to the code to ensure its stability in an ever-changing t..

  Evaluate the expression

How many times will "jump" be displayed in the following program segment? If the loop doesn't terminate, write "infinite" Evaluate the expression.

  Program which opens a data file and displays its content

writing a C++ program which opens a data file and then displays its contents with line numbers. That is the program should display the number 1 and then the first line of the file, then the number 2 and the second line of the file, etc.

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