Chapter 2. Introducing Object-Oriented Programming

After completing this chapter, you will be able to

  • Describe the key concepts of object-oriented programming.

  • Understand how these concepts are supported by C++ language constructs.

  • Understand the major development benefits of object-oriented programming.

  • Create and use simple classes.

What is object-oriented programming?

Object-oriented programming is a paradigm that provides a natural way to develop many kinds of systems. We perceive the world as consisting of objects: tables, chairs, computers, cars, bank accounts, football games, and so on. It is a natural human trait to try to organize these objects, arranging them into some form of classification and choosing to highlight certain features of objects ...

Get Microsoft Visual C++/CLI Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.