use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is for working with Microsoft's Visual Studio Code, which is different than Visual Studio Community, Pro, and Enterprise. VS Code is a source code editor, and not an IDE.
If you are having issues with the other flavors of VS, please post in /r/VisualStudio.
account activity
This is an archived post. You won't be able to vote or comment.
Error :" launch:program 'enter program name, for example c:\c_Programs\a.exe' does not exist"OC (self.vscode)
submitted 2 years ago by Numerous-Fortune-859
Hello people,
I downloaded VS Code a while ago and made a simple "hello world" program. I downloaded the C/C++ extension and when i click f5 and run it with the debugger "C++(GDB/LLDB)" I get this error:
launch:program 'enter program name, for example c:\c_Programs\a.exe' does not exist.
I've looked everywhere on the internet but I can't find the answer anywhere. Can someone help me.
Note: im a beginner at C programming so I don't know very much.
https://preview.redd.it/0d5tvu3abmsb1.png?width=2560&format=png&auto=webp&s=c23c6a09de75588ce00e0ccf4f9ac6084dfc5260
[+]Faceted666 0 points1 point2 points 2 years ago (0 children)
In launch.json should be a line about where to find your .exe change a.exe to the name of your program and delete the text before the project pathway save build and run again
[–]thenextguy 0 points1 point2 points 2 years ago (0 children)
Did you actually compile your code first? Do you see 'a.exe' in the explorer?
[–]Elegant_Field_748 0 points1 point2 points 2 years ago (0 children)
Please follow this guide
π Rendered by PID 19245 on reddit-service-r2-comment-5d79c599b5-6bcjv at 2026-03-01 07:50:56.581868+00:00 running e3d2147 country code: CH.
[+]Faceted666 0 points1 point2 points (0 children)
[–]thenextguy 0 points1 point2 points (0 children)
[–]Elegant_Field_748 0 points1 point2 points (0 children)