Purchase Solution

understanding Classes in C++

Not what you're looking for?

Ask Custom Question

I am having a dificult time understanding Classes in C++ and how to implement member functions. Given the attached code I need to:

1: Add the code to implement all of the member functions.
2: Test them from main as coded.
3: Show the order the constructors are called.
4: Show the order the destructors are called.

Purchase this Solution

Solution Summary

This job aids in understanding Classes in C++. The code to implement all of the member functions are added.

Solution Preview

once you have define your classes
make another cpp file say StringImpl.cpp

<br>don't forget to include the class with the class declaration

<br>#include "TheFileWithTheClassDeclaration.cpp"

<br>//lets say the class is called ...

Purchase this Solution

Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.