79134298

Date: 2024-10-28 16:34:10
Score: 0.5
Natty:
Report link
  1. It seams that the issue may belong form the .cpp-extension's associated program.

    Check if the .cpp-extension is associated to 'ggc1plus' executable instead of Visual Studio Code:

    • in Windows 10 open Settings and search "Chose default app by file type" the associated app should be "Visual Studio Code".

    • in Windows 7 the quick way to change an association is the following:

      • right-click a file with desired extension chose "Open with";
      • then chose Visual Studio Code;
      • (Important!) check the check-box ✔ to always open extension with the selected program.
    • About this solution you can find more information on Stack Overflow here , or you can also associate the file extension (in Windows 7) as explained from Microsoft Learn going here.

  2. Check if you have installed the "C/C++ extension for VS Code" You can find more information about this clicking here.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: pvt-Tron