In this tutorial, you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger frommingw-w64to create programs that run on Windows.
After configuring VS Code, you will compile and debug a simple Hello World program in VS Code. This tutorial does not teach you about GCC, GDB, Mingw-w64, or the C++ language. For those subjects, there are many good resources available on the Web.
If you have any problems, feel free to file an issue for this tutorial in theVS Code documentation repository.
Prerequisites#
To successfully complete this tutorial, you mus