O'Reilly logo

C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Third Edition by Brian Overland

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

14. Object-Oriented Monty Hall

Do you like solving paradoxes and riddles? This chapter provides more experience in applying object orientation while attacking one of the more interesting riddles of our time.

In studying the sample program in this chapter, you’ll learn the solution to one of the most perplexing and famous paradoxes of modern times—no kidding! Follow along to learn how to solve the paradox and see practical examples of C++ class-object syntax at work.

This chapter explores one of the most interesting uses for computers. When you have a question that can’t be solved by people arguing, you can sometimes use a computer program, assuming it is written correctly, to run a simulation and see what happens. Isn’t that better than just ...

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