Перейти к содержимому

C++ Setup in VS Code with g++ and gdb on Windows 10

Codeflash

0:00 / 0:00

C++ Setup in VS Code with g++ and gdb on Windows 10

110 421 просмотр · 6 лет назад
Codeflash
1,42 тыс. подписчиков
110 421 просмотр · 6 лет назад
This video explains how to setup Visual Studio Code for building and debugging C++ programs on Windows 10. g++ and gdb from MinGW-w64 are used for that purpose. Initially, the bin folder from MinGW-w64 is added to the PATH environment variable. IntelliSense is then configured in the C/C++ extension. At the end, the build task and the debugging configuration is made. Prerequisites: Install VS Code and the C/C++ extension (for debugging and IntelliSense). https://code.visualstudio.com/ https://marketplace.visualstudio.com/... Install Mingw-w64 (for g++ and gdb). https://www.mingw-w64.org/downloads/ Code: https://github.com/CodeflashVideos/cp... Chapters: 00:00 Introduction 00:10 Prerequisites: Necessary Installations 01:15 Prerequisites: Updating the PATH Environment Variable 03:03 Configuration: Intellisense 04:17 Creating a Simple C++ Program 05:06 Creating and Running a Build Task 07:00 Running the C++ Program 07:21 Configuration: Debugging 08:30 Debugging the C++ Program 09:18 Outro LIKE | COMMENT | SHARE | SUBSCRIBE