Chapter 7: Arrays - SIUE
Chapter 7: Arrays
Objectives
In this chapter, you will learn about: ? One-dimensional arrays ? Array initialization ? Declaring and processing two-dimensional arrays ? Arrays as arguments ? Statistical analysis
C++ for Engineers and Scientists, Fourth Edition
2
Objectives (continued)
? The Standard Template Library (STL) ? Searching and sorting ? Common programming errors
C++ for Engineers and Scientists, Fourth Edition
3
One-Dimensional Arrays
? One-dimensional array: A list of related values with the same data type, stored using a single group name (called the array name)
? Syntax:
dataType arrayName[number-of-items]
? By convention, the number of items is first declared as a constant, and the constant is used in the array declaration !
C++ for Engineers and Scientists, Fourth Edition
4
One-Dimensional Arrays (continued)
Figure 7.1 The volts and code arrays in memory
C++ for Engineers and Scientists, Fourth Edition
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- chapter 7 learning psychology quizlet
- chapter 7 financial management course
- chapter 7 connect
- chapter 7 connect finance
- chapter 7 photosynthesis quizlet
- chapter 7 psychology quizlet
- psychology chapter 7 quiz quizlet
- chapter 7 psychology quizlet test
- chapter 7 learning quizlet
- psychology chapter 7 quizlet exam
- psychology chapter 7 learning
- psychology chapter 7 test questions