Chapter 23. C++ Programming Basics

Introduction

Programming languages have evolved in response to one primary issue: increasing complexity of programs. As a project increases in size, so does the ability to manage its complexity. At some point, the complexity exceeds the ability of a programmer to manage it. This situation has driven the need for better ways to manage complexity. Out of this need emerged object-oriented programming. C, already a popular language among programmers, did not support object- oriented programming. This prompted enhancements to C, and C++ was born.

C++ was built using C as a foundation, creating a smooth migration path to object-oriented programming for programmers already familiar with C. Because C++ is a superset of ...

Get UNIX® User’s Handbook, Second Edition 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.