
Lecture 9-Parameter Passing and Void Functions
About this episode
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.
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++.
We begin this lecture by discussing operator overloading in more detail. The lecture concludes with details on designing a stack data structure class.
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.
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…