𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

C++17 quick syntax reference: a pocket guide to the language, APIs and library

✍ Scribed by Olsson, Mikael


Publisher
Apress, Berkeley, CA
Year
2018
Tongue
English
Edition
Third edition
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


This quick C++17 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++17. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference.
In theC++17 Quick Syntax Reference, you will find short, simple, and focused code examples. This book includes a well laid out table of contents and a comprehensive index allowing for easy review. You won't find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any C++ programmer.
What You'll Learn
Use template argument deduction for class templates


Declare non-type template parameters with auto-folding expressions and auto deduction from braced-init-list


Apply lambdas and lambda capture by value


Work with inline variables, nested namespaces, structured bindings, and selection statements with initializer


Use utf-8 character literals


Carry out direct-list initialization of enums


Use these new C++17 library features or class templates from std:: variant, optional, any, string_view, invoke, apply and more


Do splicing for maps and sets, also new to C++17



Who This Book Is For
Experienced C++ programmers. Additionally, this is a concise, easily-digested introduction for other programmers new to C++.

✦ Table of Contents


Intro
Table of Contents
About the Author
About the Technical Reviewer
Introduction
Chapter 1: Hello World
Choosing an IDE
Creating a Project
Adding a Source File
Selecting Language Standard
Hello World
Using the Standard Namespace
IntelliSense
Chapter 2: Compile and Run
Visual Studio Compilation
Console Compilation
Comments
Chapter 3: Variables
Data Types
Declaring Variables
Assigning Variables
Variable Scope
Integer Types
Signed and Unsigned Integers
Numeric Literals
Floating-Point Types
Literal Suffixes
Char Type
Bool Type
Chapter 4: Operators. Arithmetic OperatorsAssignment Operators
Increment and Decrement Operators
Comparison Operators
Logical Operators
Bitwise Operators
Operator Precedence
Chapter 5: Pointers
Creating Pointers
Dereferencing Pointers
Pointing to a Pointer
Dynamic Allocation
Null Pointer
Chapter 6: References
Creating References
References and Pointers
Reference and Pointer Guideline
Rvalue Reference
Chapter 7: Arrays
Array Declaration and Allocation
Array Assignment
Multi-Dimensional Arrays
Dynamic Arrays
Array Size
Chapter 8: Strings
String Combining
Escape Characters
String Compare. String FunctionsString Encodings
Chapter 9: Conditionals
If Statement
Switch Statement
Ternary Operator
Initializers
Chapter 10: Loops
While Loop
Do-while Loop
For Loop
Break and Continue
Goto Statement
Chapter 11: Functions
Defining Functions
Calling Functions
Function Parameters
Default Parameter Values
Function Overloading
Return Statement
Forward Declaration
Pass by Value
Pass by Reference
Pass by Address
Return by Value, Reference, or Address
Inline Functions
Auto and Decltype
Returning Multiple Values
Lambda Functions
Chapter 12: Classes
Class Methods. Inline MethodsObject Creation
Accessing Object Members
Forward Declaration
Chapter 13: Constructors
Constructor Overloading
This Keyword
Field Initialization
Default Constructor
Destructor
Special Member Functions
Object Initialization
Direct Initialization
Value Initialization
Copy Initialization
New Initialization
Aggregate Initialization
Uniform Initialization
Chapter 14: Inheritance
Upcasting
Downcasting
Constructor Inheritance
Multiple Inheritance
Chapter 15: Overriding
Hiding Derived Members
Overriding Derived Members
Base Class Scoping. Chapter 16: Access LevelsPrivate Access
Protected Access
Public Access
Access Level Guideline
Friend Classes and Functions
Public, Protected, and Private Inheritance
Chapter 17: Static Members
Static Fields
Static Methods
Static Local Variables
Static Global Variables
Chapter 18: Enum Types
Enum Example
Enum Constant Values
Enum Conversions
Enum Scope
Strongly Typed Enums
Chapter 19: Structs and Unions
Structs
Struct Initialization
Union
Anonymous Union
Chapter 20: Operator Overloading
Operator Overloading Example
Binary Operator Overloading
Unary Operator Overloading.


πŸ“œ SIMILAR VOLUMES


C++17 Quick Syntax Reference: A Pocket G
✍ Mikael Olsson πŸ“‚ Library πŸ“… 2018 πŸ› Apress 🌐 English

<div>This quick C++17 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++17. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference.</div><div><br></div><div>In theΒ <i>C++17 Quick Syntax Reference</i

C++17 Quick Syntax Reference: A Pocket G
✍ Mikael Olsson πŸ“‚ Library πŸ“… 2018 πŸ› Apress 🌐 English

<div>This quick C++17 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++17. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference.</div><div><br></div><div>In theΒ <i>C++17 Quick Syntax Reference</i

C++17 quick syntax reference: a pocket g
✍ Olsson, Mikael πŸ“‚ Library πŸ“… 2018 πŸ› Apress 🌐 English

This quick C++17 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++17. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference.<br />In the<i>C++17 Quick Syntax Reference</i>, you will find short, si

C# 10 Quick Syntax Reference: A Pocket G
✍ Mikael Olsson πŸ“‚ Library πŸ“… 2022 πŸ› Apress 🌐 English

<span>Discover what's new in C# and .NET for Windows programming. This book isΒ a condensed code and syntax reference to the C# programming language, updated with the latest features of version 10 for .NET 6.Β <div><br></div><div>You'll review the essential C# 10 and earlier syntax, not previously cov

C# 10 Quick Syntax Reference: A Pocket G
✍ Mikael Olsson πŸ“‚ Library πŸ“… 2022 πŸ› Apress 🌐 English

<span>Discover what's new in C# and .NET for Windows programming. This book isΒ a condensed code and syntax reference to the C# programming language, updated with the latest features of version 10 for .NET 6.Β <div><br></div><div>You'll review the essential C# 10 and earlier syntax, not previously cov