< Previous | Contents | Next >

Discussion Questions

1. What are some of the things from your favorite game that you could represent as objects? What might their data members and member functions be?

2. What are the advantages of using an array over a group of individual variables?

3. What are some limitations imposed by a fixed array size?

114 Chapter 3 n For Loops, Strings, and Arrays: Word Jumble


4. What are the advantages and disadvantages of operator overloading?

5. What kinds of games could you create using string objects, arrays, and

for loops as your main tools?