Building Classes in C++( WT-1011-180 )
| Course Description |  |

This course teaches students the basics of working with classes and objects in C++. It introduces students to encapsulation, an important aspect of object-oriented programming (OOP), and prepares students to continue exploring OOP techniques and concepts.
This course requires any ANSI C++ compiler. It also requires a computer running Windows, Macintosh, or UNIX.
eMentoring Services are included with this course.
Course length: 15 hours
| Course details |
| id:
WT-1011-180 |
| subscription duration:
180 days
| | list price: $
325.00 |
|
Languages Offered |
 |
This course is currently available in English only.
|
Who Can Benefit |
 |
C programmers, C++ beginning programmers, and individuals interested in learning classes and objects in C++
|
Prerequisites |
 |
To succeed fully in this course, students should be able to: Demonstrate completion of Introduction to C++, or equivalent knowledge and experience
|
Skills Gained |
 |
Upon completion of this course, you should be able to: Write C++ programs that use the class construct to define Abstract Data Types and implement encapsulation of data and behaviorWrite member functions that act on member dataUse constructor and destructor member functions to manage class-defined objectsImplement useful dynamic data structures such as a dynamically allocated stack, a bounds checking array, and a singly linked listUse an efficient object disposal schemes
|
Related Courses |
 |
Before: Introduction to C++After: Designing Reusable Code in C++
|
Course Content |
 |
Course introductionPrerequisitesWhat you needWhat to expectMeet your tutorMeet your instructorC++ compilers
OOP and encapsulationObject-oriented programmingType extensibilityEncapsulationWhat is a class?What is an object?Member functionsUsing a member functionPrivate and public accessThe ADT's interfaceClass or struct?Module wrap-up
Inside a classScope resolution operatorUnary formBinary formExternal member functionsOverloading member functionsNested classesStatic members of a classThe this pointerDefining static and const member functionsImplementation of static and const member functionsProgram dissectionModule wrap-up
ConstructorsMemory allocation for variablesWhat is a constructor?What is a destructor?Constructor and destructor exampleAn initialization constructorUsing a constructorA default constructorConstructor initializersConstructors as conversionsModule wrap-up
|
Module 5: Constructing a dynamically sized stack |
Back To Top
| Constructing a dynamically sized stackDesign of the stackStack constructorsCopy constructorsDefining a copy constructorUsing a destructorModule wrap-up
|
Module 6: Useful classes for dynamic structures |
Back To Top
| Useful classes for dynamic structuresA "safe" arrayGrouping arrays in a classA singly linked listThe prepend() member functionThe del() member functionThe print() member functionThe release() member functionUsing the listReference countingA string class using reference countingUsing reference countingModule wrap-up
Course wrap-upCourse projectWhere to go from hereHelp us help you learn! |