Setting up C++ in VSCode and MinGW on Windows

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • To setup C++ in VSCode, follow these steps:
    00:07 1) Install VSCode (code.visualstu...)
    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

ความคิดเห็น •