Suon Sivatha
Suon Sivatha
  • 3
  • 987
Setting up C++ in VSCode and MinGW on Windows
To setup C++ in VSCode, follow these steps:
00:07 1) Install VSCode (code.visualstudio.com/)
01:39 2) Install the C/C++ extension for VS code
03:54 3) Installing the MinGW-w64 toolchain (www.msys2.org)
- In this terminal, install the MinGW-w64 toolchain by running the following command
(pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain)
04:54 4) MinGW-w64 bin folder to the Windows PATH environment variable
- C:\msys64\ucrt64\bin
05:51 5) Check your MinGW installation by cmd (Windows command prompt)
- gcc --version
- g++ --version
- gdb --version
06:36 6)Create a Hello World app
08:56 7) Run helloworld.cpp
8) Thank you
มุมมอง: 986

วีดีโอ