Introduction to C++ Programming - Winter 2010

Lecture 7: Palindrome homework discussion and arrays

01.28.2010 - By Computer Science & EngineeringPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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 from Introduction to C++ Programming - Winter 2010