1.4 C++ AS A SUPERSET OF C PROGRAMMING LANGUAGE
C++ has inherited all the strong points of C. It has tried to remove certain weaknesses. Object orientation has added a totally new dimension to the language. You can make use of code and reuse it to the hilt. C++ is a superset of C. All your C programs will work without any modification in this environment. However, we recommend that you get accustomed to new styles and techniques of C++ from day one.
Figure 1.1 shows the relationship between C and C++. The outer larger circle represents language C++. Language C is shown as circle with small diameter. The keywords of C are shown in this circle. Keywords of C++ which are not present in C are shown outside this circle.
More new keywords were added ...
Get Object Oriented Programming with C++, 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.