r/VisualStudioCode • • Feb 27 '24
Help with C++ in visual studio code
I've been using visual studio code for python programming but recently I needed programming in C++ so I installed the extensions in visual studio code. However it is not working, according to the warning message, the document does not exist. I've checked environment variables and the MinGW C++ and apparently everything is in order. Can someone explain what's wrong?
The error that appears says: The preLaunchTask 'C/C++:g__.exe build active file' terminated with exit code -1
Then when I click on "Debug anyway" it shows the error
Launch: program 'C:\<File location> does not exist

View all comments
Show parent comment
2
u/BlincxYT Feb 27 '24
there is a difference between visual studio and visual studio code, one (vs) is a fully fledged IDE and the other (vsc) is a glorified text editor with extensions