Introduction to programming in C++ and object-oriented programming - encapsulation using classes, inheritance, etc.
Lecture 15: Final Exam Review and Dynamic Allocation
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 releasing dynamic memory, that will not be covered on the final exam.
Lecture 14: Introduction to Pointers
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++.
Lecture 13: More Operator Overloading and Stacks
We begin this lecture by discussing operator overloading in more detail. The lecture concludes with details on designing a stack data structure class.
Lecture 12: Member Functions and Operator Overloading
In this lecture, we discuss possible solutions to the Fraction homework, as wel as briefly touch on overloading the insertion operator for the Fraction class.
Lecture 11-Constructors and Clients
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 on to discuss the various ways clients of the Fraction class can use objects of type Fraction. We conclude with homework problem discussions.
Lecture 10-Introduction to Object-Oriented Programming
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.