Announcements and Reminders
2 Dimensional Arrays
You can think of it as an array of one-dimensional arrays
How is it stored? How is it represented in memory?
Declare a 2 dimensional array
Initialize a 2 dimensional array
Pass the array to a function
Pass one element to a function
Pass one row to a function
Pass a column to a function
Read data from a file into a 2 dimensional array
Sort a 2 dimensional array by a column
3 Dimensional Arrays"You can think of a 3 dimensional array as an array of two dimensional arrays, or an array of an array of one dimensional arrays."
Declaration, initialization, usage
Buckys C++ Programming Tutorials - 35 - Passing Arrays to Functions (8 minutes) This is a good one, if you're running behind
Buckys C++ Programming Tutorials - 36 - Multidimensional Arrays (6 minutes) This is a good one.
C++ Tutorial 17 - Multidimensional Arrays as Parameters (21 minutes)
A 2D Array Example
Lab Exercise #3
Put your name, the compiler used, and Lab Exercise #3 in a comment at the top of your exercise
Complete the program using the following main() and producing the indicated output.
***** OUTPUT *****