Jump to content

VS Code C++ says program does not exist

Go to solution Solved by yitazii,

After a couple days, i finally found out that i just needed to save the C++ file in a folder and then open that folder in vs code. Not sure why this fixed this, but i think it has something to do with the folder letting vs code know where to put the other vs code needed stuff like the launch.json and tasks.json?

16 hours ago, C2dan88 said:

Appears to be invoked by your launch.json config. Post its contents?

Sorry for the late response, but when i click "open launch.json" it shows this:image.png.60be7396396ce031a931b48768b0524f.png

Also, when i look for launch.json in file explorer, it shows these 3 options (probrably bc i uninstalled and reinstalled vs code and followed the tutorial again 3 times):image.png.7e324272dbb785fad69b35b122f515ec.png

 

 

 

Link to post
Share on other sites

After a couple days, i finally found out that i just needed to save the C++ file in a folder and then open that folder in vs code. Not sure why this fixed this, but i think it has something to do with the folder letting vs code know where to put the other vs code needed stuff like the launch.json and tasks.json?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×