C++ lessons¶
(6 hours)
Prerequisites (Debian)¶
Boot into Debian and open a terminal
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 computergit
is gitbuild-essential
is a bundle of necessary packages for c++ likemake
andgcc
, just to make sure you have themcmake
is our build system, will be covered in lessonclang-17
is our compiler, will be covered in lessonlldb
is debugger forclang
, will be covered in lesson
Install VSCode on Debian if you do not have it, follow this guide
Install Clangd extension in VSCode
Install Clang-format extension in VSCode
Install CMake tools extension in VSCode