I wrote a simple C++ hello World program, and when I press run code the VSCode gives following message "This file type not supported, This file type .cpp is not supported."
I tried using .cxx file extension but it was in vain too. Furthermore, when I searched for the popular "C/C++" Microsoft extension, I didn't find it in search results. I have already downloaded MinGw which is compatible with my system. Do I need to reinstall VSCode?