So far you’ve seen how to work with sequences of values using arrays. But there are more sophisticated ways to work with collections of values. In fact, working with collections is so common that part of standard C++ is dedicated to doing just that. In this chapter, you’ll get an introduction to this important library. Specifically, you’ll learn to:
vector objects to work with sequences of values
vector member functions to manipulate sequence elements
Use iterators to move through sequences
Use library algorithms to work with groups of elements
Plan your programs with pseudocode
Good game programmers are lazy. It’s not that they don’t want to work; it’s ...