microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.5k stars 1.55k forks source link

cant work with .cpp files in visual code #12132

Open Hazzz895 opened 6 months ago

Hazzz895 commented 6 months ago

I have done everything that is written in this tutorial https://code.visualstudio.com/docs/cpp/config-mingw#_prerequisites but when you run the code, an error pops up image

bobbrow commented 6 months ago

Can you share the launch.json file in your .vscode folder? If you don't have one because you are using the "run and debug" button in the editor, please click the gear icon next to it to generate one.