September 2011
Intermediate to advanced
768 pages
15h 18m
English
In this chapter, the C++ language is introduced. Basic concepts such as keywords, literals, identifiers, declarations, native types, and type conversions are defined. Some history and evolution are discussed, along with the relationship between C++ and the C language. Some Standard Library and Qt classes are introduced.
C++ was originally written as an extension of C by means of a series of preprocessor macros and known as C with Classes.1 After many years of evolution and refinement, it now extends C by adding several higher-level features such as strong typing, data abstraction, references, operator and function overloading, and considerable support for object-oriented programming.
C++ retains ...