My C++ program won't compile on Visual Studio code
问题 I'm attempting to use Visual Studio Code for the first time and my C++ won't compile. I have already added mingw's bin and bash.exe from MSYS2 to my PATH. All of my code is in the same directory and straight from microsoft's guide https://code.visualstudio.com/docs/cpp/config-mingw (I did change the paths to mine). All of my files are also in the same directory. I've included the file helloworld.cpp: #include <iostream> using namespace std; int main() { cout << "Hello World"; } tasks.json: {