#Problem with Visual Studio Code

1 messages · Page 1 of 1 (latest)

amber fern
#

Hello! I am learning C++ and I was searching for an IDE. I downloaded the most "famous" which is Visual Studio Code. I downloaded the compiler the website had, following the instructions step by step. I opened a folder, made a file, saved it as .cpp and started doing some very simple coding (some inputs, outputs etc). But when I clicked run, I have this error: The preLaunchTask 'C/C++: gcc.exe build active file' terminated with exit code -1.
Does anybody know how to fix this?
When I click : Debug Anyway I get the error that says:

launch: program '{Directory}' does not exist

agile aurora
#

Can you send a link to the instructions you read? and the projects file structure?

amber fern
amber fern
fickle jetty
#

This will also avoid you to run in those kind of errors.

#

If you really wants to use the built in run, it would be useful to also send your config file.

amber fern
#

I changed the path from Registry but still does the same thing

noble basin
#

u can remove a bunch of stuff which is optional uk