Introduction to C++ Programming - Winter 2010
Lecture 10-Introduction to Object-Oriented Programming

Lecture 10-Introduction to Object-Oriented Programming

Introduction to C++ Programming - Winter 2010

About this episode

This lecture is an introduction to Object-Oriented programming. We first begin by describing some motivation of objects. Then, we discuss the mechanics of classes, including how they are declared, the various keywords used, etc. We conclude with several implementation details pertaining to how classes are typically split into different files to facilitate separate compilation.

More from Introduction to C++ Programming - Winter 2010

In this lecture, we review key concepts that will be covered by the final exam. Also, we discuss more details pertaining to dynamic allocations, including motivation, requesting dynamic memory, and re…

We discuss the details of pointer values and types in C++ in this lecture. We conclude with a very brief introduction to dynamic allocation and some other motivation behind pointer types in C++.

In this lecture, we continue our discussion of Object-Oriented Programming. Specifically, we introduce the idea of member functions to create objects. Such functions are called contructors. We then go…