How to compile C++ with clang and Visual Studio Code

Аватар автора
Game Masters
0:00 Updating Linux and installing clang, clang++ 0:39 Installing Visual Studio Code 1:12 Installing the VSCode extension for Clang 1:29 Opening a working folder for C++ 1:41 Installing the clangd language server 2:09 Writing a simple "hello world" C++ program 2:19 Compiling with clang using the terminal 2:51 Installing "code runner" and configuring it for clang 3:33 Adding cpp files to the project 4:07 clang: error: linker command failed with exit code 1 (undefined reference)

0/0


0/0

0/0

0/0