O'Reilly logo

Beginning C++ Through Game Programming, Fourth Edition by Michael Dawson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4THE STANDARD TEMPLATE LIBRARY: HANGMAN

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:

images Use vector objects to work with sequences of values

images Use vector member functions to manipulate sequence elements

Use iterators to move through sequences ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required