OOPortal 





Building Classes in C++   «Prev  Next»
Lesson 1

Introduction to Building Classes in C++

C++ Course introduction

Welcome to Building Classes in C++, the second course in the C++ for C Programmers series.
This course teaches you the basics of working with classes and objects in C++.
It introduces you to one important aspect of object-oriented programming (OOP) which is encapsulation and prepares you to continue exploring OOP techniques and concepts.
After completing this course, you will be able to write C++ programs that:
  1. Use the class construct to define Abstract Data Types (ADTs) and implement encapsulation of data and behavior
  2. Write member functions that act on member data
  3. Use constructor and destructor member functions to manage class-defined objects
  4. Implement useful dynamic data structures such as a dynamically allocated stack, a bounds-checking array, and a singly linked list
  5. Use an efficient object disposal scheme



Visual C++ provides two ways of building a C/C++ program. The easiest (and most common) way is to build within the Visual C++ development environment. The other way is to build from a command prompt using command-line tools. In either case, you can create your source files using the Visual C++ source editor or a third-party editor of your choice.
If your program uses a makefile rather than a .vcxproj file, you can still build it in the development environment as an external project.