C++ Programming Language: a QuickStudy Laminated Reference

2,439 491 10MB

English Pages [6]

Report DMCA / Copyright

DOWNLOAD FILE

Polecaj historie

C++ Programming Language: a QuickStudy Laminated Reference

Table of contents :
C++
Source Code Comments
The Preprocessor
Line Continuation
Keywords
Attributes
Fundamental Types
Enumerations
Incomplete Types
Storage Class Specifiers
Objects
Object Lifetime
Object Initialization
Compound Types
Type Aliases
CV Qualifiers
Expressions
Literals
Classes
Access Specifiers
Statements
Functions
Operators
Namespaces
Name Hiding
Polymorphism
Lambda Expressions
Copy/Move
Special Member Functions
Function Overloading
Type Conversion
Operator Overloading
Virtual Functions, Function Overriding & Interfaces
Polymorphic Destruction & Virtual Destructors
Templates

Citation preview

WORLD’S #1 QUICK REFERENCE SOFTWARE GUIDE

Programming Language

The code in this guide was tested against GCC 8.2.1 and should work with any C++ compiler that fully implements the C++17 standard.

Source Code Comments

• There are two types of source code comments: –– Line comments start with two forward slashes // and continue until the end of the line of text. –– Block comments can contain multiple lines of text, start with /*, and end with */. • Prior to compilation, comments are replaced with a single space character. Example: std::cout