I want to enable c++ syntax support for visual studio code, but none of the guides I've found have worked for me. My environment is treating standard syntax keywords like 'cout' and 'endl' as variable names for whatever reason. I installed MinGW-64 through the visual studio code C++ guide and followed the instructions exactly but that did not work. I also installed several C/C++ extensions, including the one by Microsoft, and it's still showing errors for these things. Is there any work around for this?
Here is the code I have. This is my first time with C++ so I hope I'm not missing anything else important.
#include <iostream>
int main(){
cout << "Hello World!" << endl;
}