In this chapter the 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.
1.1 |
Overview of C++ |
6 |
1.2 |
A Brief History of C++ |
6 |
1.3 |
Setup: Open-Source Platforms |
7 |
1.4 |
Setup: Win32 |
12 |
1.5 |
C++ First Example |
12 |
1.6 |
Input and Output |
16 |
1.7 |
Identifiers, Types, and Literals |
19 |
1.8 |
C++ Simple Types |
22 |
1.9 |
C++ Standard Library Strings |
30 |
1.10 |
Streams |
31 |
1.11 |
The Keyword const |
34 |
1.12 |
Pointers and Memory Access |
36 |
1.13 |
const* and *const |
40 |
1.14 |
Reference Variables |
43 |
Part I: Introduction to C++ and Qt 4
C++ Introduction
Classes
Introduction to Qt
Lists
Functions
Inheritance and Polymorphism
Part II: Higher-Level Programming
Libraries
Introduction to Design Patterns
QObject
Generics and Containers
Qt GUI Widgets
Concurrency
Validation and Regular Expressions
Parsing XML
Meta Objects, Properties, and Reflective Programming
More Design Patterns
Models and Views
Qt SQL Classes
Part III: C++ Language Reference
Types and Expressions
Scope and Storage Class
Statements and Control Structures
Memory Access
Chapter Summary
Inheritance in Detail
Miscellaneous Topics
Part IV: Programming Assignments
MP3 Jukebox Assignments
Part V: Appendices
MP3 Jukebox Assignments
Bibliography
MP3 Jukebox Assignments