Skip to main content
  • Book
  • © 2020

Modern C++ for Absolute Beginners

A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards

Apress
  • Covers the basics of the C++ programming language

  • Uses relevant modern C++ techniques and practices

  • Allows you to become familiar with modern C++ standards

Buy it now

Buying options

eBook USD 34.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 (40 chapters)

  1. Exercises

    • Slobodan Dmitrović
    Pages 85-88
  2. Scope and Lifetime

    • Slobodan Dmitrović
    Pages 89-92
  3. Exercises

    • Slobodan Dmitrović
    Pages 93-94
  4. Classes - Introduction

    • Slobodan Dmitrović
    Pages 95-119
  5. Exercises

    • Slobodan Dmitrović
    Pages 121-129
  6. Classes – Inheritance and Polymorphism

    • Slobodan Dmitrović
    Pages 131-139
  7. Exercises

    • Slobodan Dmitrović
    Pages 141-143
  8. The static Specifier

    • Slobodan Dmitrović
    Pages 145-147
  9. Templates

    • Slobodan Dmitrović
    Pages 149-154
  10. Enumerations

    • Slobodan Dmitrović
    Pages 155-157
  11. Exercises

    • Slobodan Dmitrović
    Pages 159-164
  12. Organizing code

    • Slobodan Dmitrović
    Pages 165-169
  13. Exercises

    • Slobodan Dmitrović
    Pages 171-174
  14. Conversions

    • Slobodan Dmitrović
    Pages 175-181
  15. Exceptions

    • Slobodan Dmitrović
    Pages 183-187
  16. Smart Pointers

    • Slobodan Dmitrović
    Pages 189-192
  17. Exercises

    • Slobodan Dmitrović
    Pages 193-199
  18. Input/Output Streams

    • Slobodan Dmitrović
    Pages 201-207
  19. C++ Standard Library and Friends

    • Slobodan Dmitrović
    Pages 209-231
  20. Exercises

    • Slobodan Dmitrović
    Pages 233-242

About this book

Learn the C++ programming language in a structured, straightforward, and friendly manner. This book teaches the basics of the modern C++ programming language, C++ Standard Library, and modern C++ standards. No previous programming experience is required.

C++ is a language like no other, surprising in its complexity, yet wonderfully sleek and elegant in so many ways. It is also a language that cannot be learned by guessing, one that is easy to get wrong and challenging to get right. To overcome this, each section is filled with real-world examples that gradually increase in complexity. Modern C++ for Absolute Beginners teaches more than just programming in C++20. It provides a solid C++ foundation to build upon.

The author takes you through the C++ programming language, the Standard Library, and the C++11 to C++20 standard basics. Each chapter is accompanied by the right amount of theory and plenty of source code examples.

You will work with C++20 features and standards, yet you will also compare and take a look into previous versions of C++. You will do so with plenty of relevant source code examples.

What You Will Learn

  • Work with the basics of C++: types, operators, variables, constants, expressions, references, functions, classes, I/O, smart pointers, polymorphism, and more
  • Set up the Visual Studio environment on Windows and GCC on Linux, where you can write your own code
  • Declare and define functions, classes, and objects, and organize code into namespaces
  • Discover object-oriented programming: classes and objects, encapsulation, inheritance, polymorphism, and more using the most advanced C++ features
  • Employ best practices in organizing source code and controlling program workflow
  • Get familiar with C++ language dos and donts, and more
  • Master the basics of lambdas, inheritance, polymorphism, smart pointers, templates, modules, contracts, concepts, and more

Who This Book Is For 

Beginner or novice programmers who wish to learn C++ programming. No prior programming experience is required.

Authors and Affiliations

  • Belgrade, Serbia

    Slobodan Dmitrović

About the author

Slobodan Dmitrovic is a C++ software developer with a strong interest in software architecture, modern C++, research and development, and training.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.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