CSC 160 - Chapter 8 Quick Reference
Chapter 8 "Arrays"
This chapter covers the aspects of using C++ arrays.
General Terms
array variable |
array element |
bounds checking |
initialization |
parallel arrays |
typedef |
2-dimensional arrays |
n-dimensional arrays |
|
|
|
|
Concepts
Important concepts covered include:
- Be able to fully manipulate arrays:
- Declaring an array variable
- Accessing the elements of an array, subscripting begins at 0
- Initializing an array, partial initialization and implicit
array sizing
- Using loops to process the elements of an array
- Passing arrays as function arguments
- Using 2-dimensional and n-dimensional arrays in all the ways
described above
- Using arrays of structures and class objects in all the ways
described above
- Using parallel arrays
- Using typedef to define array (and other) types
Disclaimer: The goal of this "cheat sheet" is to review
the more important concepts in the chapter. The exclusion of any
material in the chapter from this "cheat sheet" does not mean
that you are not responsible for that material.