Discussion Outline
Session 5
Current material
- Arrays
- Declaring arrays
Show memory allocation including the variable that
holds the base address of the array.
- Accessing array elements
- Passing arrays to functions
Call by reference - manipulation of the original array
- Two-dimensional arrays
- Passing two-dimensional arrays
Project 2
- Discuss the game Connect 4
- legal placement of pieces -
As far as the piece will fall,
either the bottom of the column, or with another piece
below the piece being placed
- Winning -
any 4 in a row of one palyer's pieces wins,
vertically, horizontally, or diagonally
CSEE
|
201
|
201 F'00
|
lectures
|
news
|
help
Friday, 06-Oct-2000 08:06:55 EDT