Skip to main content
  • Book
  • © 2018

C++17 Quick Syntax Reference

A Pocket Guide to the Language, APIs and Library

Apress

Authors:

  • A handy compact reference handbook for C++17 code syntax

  • Learn from succinct code examples

  • Utilize new C++17 class templates such as std::variant, optional, any and string_view

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (29 chapters)

  1. Front Matter

    Pages i-xviii
  2. Hello World

    • Mikael Olsson
    Pages 1-4
  3. Compile and Run

    • Mikael Olsson
    Pages 5-7
  4. Variables

    • Mikael Olsson
    Pages 9-17
  5. Operators

    • Mikael Olsson
    Pages 19-23
  6. Pointers

    • Mikael Olsson
    Pages 25-29
  7. References

    • Mikael Olsson
    Pages 31-33
  8. Arrays

    • Mikael Olsson
    Pages 35-37
  9. Strings

    • Mikael Olsson
    Pages 39-43
  10. Conditionals

    • Mikael Olsson
    Pages 45-48
  11. Loops

    • Mikael Olsson
    Pages 49-51
  12. Functions

    • Mikael Olsson
    Pages 53-67
  13. Classes

    • Mikael Olsson
    Pages 69-72
  14. Constructors

    • Mikael Olsson
    Pages 73-82
  15. Inheritance

    • Mikael Olsson
    Pages 83-87
  16. Overriding

    • Mikael Olsson
    Pages 89-92
  17. Access Levels

    • Mikael Olsson
    Pages 93-97
  18. Static Members

    • Mikael Olsson
    Pages 99-101
  19. Enum Types

    • Mikael Olsson
    Pages 103-106
  20. Structs and Unions

    • Mikael Olsson
    Pages 107-110

About this book

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.


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++.


Authors and Affiliations

  • Hammarland, Finland

    Mikael Olsson

About the author

Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory. The portal to his online businesses and other websites is Siforia-dot-com.

Bibliographic Information

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access