Lecture 7: Palindrome homework discussion and arrays
Listen now
Description
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.e., a maximum size (the maximum number of elements an array can hold) and an actual size (the number of valid elements the array currently holds). Lastly, we discuss and develop an algorithm to solve the homework problem.
More Episodes
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.
Published 03/16/10
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++.
Published 03/16/10
We begin this lecture by discussing operator overloading in more detail. The lecture concludes with details on designing a stack data structure class.
Published 03/16/10