How to learn modern C++

June 6, 2022 · View on GitHub

A guide to the adventurer
First to learn modern C++ you have to choose an operating system. The C++ is the same in all of them, but the settings and some libs used are different. In this guide I focus on the development in Linux, but the info can also be useful for other operating systems.

  • In this context we start by installing Ubuntu Linux, as a stand alone machine or as a virtual machine.
    Ubuntu

  • Install the Build Essential Tools on Ubuntu, they have the GCC compiler. You can also install CLang that uses LLVM instead.

sudo apt-get update
sudo apt-get install build-essential
  • Install CMake
sudo apt-get install cmake

If you do all this steps you will have a good knowledge of C++ and can start doing large problems in C++.

Rust

Have fun!

Best regards,
João Nuno Carvalho