C++ lessons

Slideshow

(6 hours)

Prerequisites (Debian)

  1. Boot into Debian and open a terminal

  2. Type in the following commands (one by one) and install everything

sudo apt update

sudo apt install git
sudo apt install build-essential
sudo apt install cmake
sudo apt install clang-17
sudo apt install lldb
  • sudo apt update will update the repository list on your computer

  • git is git

  • build-essential is a bundle of necessary packages for c++ like make and gcc, just to make sure you have them

  • cmake is our build system, will be covered in lesson

  • clang-17 is our compiler, will be covered in lesson

  • lldb is debugger for clang, will be covered in lesson

  1. Install VSCode on Debian if you do not have it, follow this guide

  2. Install Clangd extension in VSCode

  3. Install Clang-format extension in VSCode

  4. Install CMake tools extension in VSCode