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

Published: 25 February 2024
on channel: Abstract programmer
4,092
57

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)


Watch video How to compile C++ with clang and Visual Studio Code online without registration, duration hours minute second in high quality. This video was added by user Abstract programmer 25 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,092 once and liked it 57 people.