Information Technology > Solutions Guide > LAB: Warm up: Contacts ContactNode (All)

LAB: Warm up: Contacts ContactNode

Document Content and Description Below

using namespace std; #include <iostream> #include <string> #ifndef _CONTACT #include "ContactNode.h" #endif void ContactNode::PrintContactNode() { cout << "Name: " << contactName << endl; cout... << "Phone number: " << contactPhoneNum << endl; } void ContactList::InsertAddNew(string nameStr, string phoneNum){ TContactNode newNode = new ContactNode(nameStr,phoneNum); if (count==0){ head=tail=newNode; } else { tail->InsertAfter(newNode); tail = tail->GetNext(); } count++; } ContactList::~ContactList(){ TContactNode tempNodePtr = head; for (int iLoop=0; iLoop<count; iLoop++){ head = head->GetNext(); [Show More]

Last updated: 2 years ago

Preview 1 out of 2 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$7.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

182
0

Document information


Connected school, study & course


About the document


Uploaded On

Aug 09, 2022

Number of pages

2

Written in

Seller


seller-icon
CourseWorks,Inc

Member since 2 years

9 Documents Sold

Reviews Received
2
0
0
0
0
Additional information

This document has been written for:

Uploaded

Aug 09, 2022

Downloads

 0

Views

 182

Document Keyword Tags

More From CourseWorks,Inc

View all CourseWorks,Inc's documents »

$7.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·