Well, recently I tried to debug my program and run it.
But for some reason, I got this error:
Code:
Unable to start program 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2010\Projects\Structure of a Program\Debug\Structure of a Program.exe'
The system cannot find the file specified.
I am using Microsoft Visual C++ 2010. I searched this error and they said it was a common bug, but gave no fix. Has anyone else had this error?
And yes, sorry, I am a noob when it comes to this. Just started coding not too long ago. :/
Where does it say its a common bug? Seems to me that you're trying to run a program that's non-existent? /:
It's happened to me before.
Just restart VC++ and it should be fixed.
If not, create a new project, and copy and paste the code into the new one
Originally Posted by Kallisti
It's happened to me before.
Just restart VC++ and it should be fixed.
If not, create a new project, and copy and paste the code into the new one
Ugh, I tried that, no dice.
I think I am missing a file, devenv.exe.config.
Can anyone tell me where to find it?
The error is straight forward, It cannot find program.exe, because program.exe probably doesn't exist. If VC++ is the same as the rest of the VS series, it needs to be built/compiled first, then you can debug
Originally Posted by NextGen1
The error is straight forward, It cannot find program.exe, because program.exe probably doesn't exist. If VC++ is the same as the rest of the VS series, it needs to be built/compiled first, then you can debug
It always prompts to build before you debug, which is what I do.
Still doesn't work.
Rebuild your project, and make sure you don't have some magic renaming post process settings
Like I said and HD said, it is for sure a compiling issue, I have seen it before in ASP.net 1000 times, and I have been in and out of C++ , either the application isn't compiling credit, or the source is keeping it from compiling.
Originally Posted by Hell_Demon
Rebuild your project, and make sure you don't have some magic renaming post process settings
Alright, I'll try that and report back.
Ok, We will wait....... /waits
Nope, still no luck.
I even repaired Visual C++ 2010 by running the installer...
I may just have to re-install.
Solution: Visual C++ 2008 Express Edition.
Well, it doesn't even build a code let alone debug.
I will build and it will tell me it succeeded, but no program.