How to set up Visual Studio Code for Executing and Debugging C++ Programs | Tutorial for Beginners @LearningLad
How to set up Visual Studio Code for Executing and Debugging C++ Programs | Tutorial for Beginners  @LearningLad
Uploaded January 2021 | Updated September 2026, 1 week ago
In this tutorial, you will learn How to Set up Visual Studio Code for Creating, Executing and Debugging C++ Programs.

00:00 Introduction
00:36 Check g++ and gdb are installed
01:44 Set up Visual Studio Code Work Space
04:58 Installing C/C++ Extension in VS Code
06:17 Configure C/C++ Properties
08:18 Set up Build Task and Run Program
13:27 Configure Task to Build and Run Executable File
24:04 Set up Vs code for debugging
26:46 Debug Cpp Program using a Break Point


Visual Studio Code is the widely used editor in Computer Programming field.
It is the best editor for a beginner in programming because it is simple, easy to set up and has all those features needed.

First you need to Download and Install C Cpp toolset ( Compiler , linker etc ) like mingw-w64. After that you need to install Visual Studio Code.

Download and Install gcc using Mingw-w64 and msys2
youtu.be/0HD0pqVtsmw

Download and Install Visual Studio Code
youtu.be/JGsyJI8XG0Y

Our Website
LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
How to set up Visual Studio Code for Executing and Debugging C++ Programs | Tutorial for BeginnersHow to Run Python Programs  ( .py files )  in Windows 10How to Install C/C++ Toolset (GCC G++  GDB) on Windows 11 | Complete Setup Guidefseek() Function Explained with Examples | File Handling in C ProgrammingC++ Program to Find the Factorial of a Number TutorialC Language Code Blocks Explained | Block Scope, Nested Blocks & Variable ShadowingVariable Concept with Computer Memory, Bits Bytes Explained in C Programming LanguageHow to Set Up Visual Studio code to Run C# ProgramsC Programming Logical Operators ExplainedJava for Beginners | VS Code Java Setup and Run ProgramHow to Install C C++ Compiler / Tool set  ( gcc g++ gdb ) Easily in Windows ComputerHow to Create a Simple Calculator Program using C# Programming Language ?
LearningLad |

How to set up Visual Studio Code for Executing and Debugging C++ Programs | Tutorial for Beginners

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER