csc201 20101025 Notes

Posted in csc201 by bnmng on 2010 10/25

Chapter 11 Arrays
Exam Prep 7,11,14,15,17,21
Programming Warmup
Read 12 to page 606. Arrays of Structs, 2D arrays, Declarations, arrays as arguments, processing
Also see chapter 8 in Bronson for examples of run-time initialization.

Number of buildings example

2 dimensional arrays

compiler will not trap an out of bounds index.

Typedef char nametyhpe[21]
nanetype namelist[50]
namelist [5][16]


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: