If you work with C++, don’t be overwhelmed, there will be a lot of configurations.
First of all, choose the compiler from Windows(MSVC, MinGW) Linus(GCC, LLVM) MacOS(LLVM)
I am so sick of configuring C++ for visual studio code on Windows.
code .
#include<iostream>
using namespace std;
int main(){
cout << "hello world" << endl;
return 0;
}
Don’t create the folder .vscode and configure files as the official tutorial suggested.
Simply just Press the play button in the top right corner of the editor.
Choose C/C++: cl.exe build and debug active file from the list of detected compilers on your system.