Actions for C++17 quick syntax reference : a pocket guide to the language, APIs and library
C++17 quick syntax reference : a pocket guide to the language, APIs and library / Mikael Olsson
- Author
- Olsson, Mikael (Web programmer)
- Published
- [Berkeley, Calif.] : Apress, 2018.
New York, NY : Distributed to the Book trade worldwide by Springer - Copyright Date
- ©2018
- Edition
- Third edition.
- Physical Description
- 1 online resource (xviii, 186 pages) : illustrations
Access Online
- 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., and 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.
- Summary
- 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 the C++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. You will: 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.
- Subject(s)
- ISBN
- 9781484236000 (electronic bk.)
1484236009 (electronic bk.)
9781484235997 (print)
1484235991 - Digital File Characteristics
- text file
PDF - Note
- Includes index.
- Bibliography Note
- Includes bibliographical references and index.
View MARC record | catkey: 37446357