Reputation: 147
I am a beginner trying to write a C program in Visual Studio 2010. I have created a new project and have copied my code into the empty .cpp page that appeared. The build is unsuccessful and when I try to debug, I get the following error message:
Unable to start program "c:\users---\visual studio 2010\Projects\Homework\Debug\Homework.exe. The system can not find the file specified.
How do I fix this?
Upvotes: 2
Views: 257
Reputation: 3875
The build must be successful in order to create the exe file so you can start your application and debug. Check for compile errors and solve them before building your project.
Upvotes: 4