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 t
In this lecture, we begin by explaining answers about boolean operations and variable scopes raised in the last class. We then go on to discuss global variables and named constants. The focal point of the lecture, repetitive statements in C++,
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 cov
In this lecture, we mainly discuss the details and requirements of the Palindrome homework assignment, however, doing so also entailed discussing many details of static arrays in C++. Specifically, static arrays will have two notions of size, i
In this lecture, we mainly discuss function parameter passing modes, namely, the differences between call-by-value and call-by-reference. We then go on to discuss void functions and using arrays as arguments to functions.
In this lecture, we introduce the notion of value returning functions in C++ and provide several examples. Value returing functions are quite similar to functions you would, say, see in excel. However, there are some important differences that
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.
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 wit
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++.