17.11 Case Study: Matrices
Implementation:
- 2D array:
- Indices not checked
- Need helper functions to copy
- Can't use standard arithmetic operators
- Create Matrix:
- Number of ROWS and COLUMNS variable; can't use a 2D array
underneath
- Use a 1D array. So, elementi,j will be
found at
i * COLUMNS + j
prev
|top
|next