I've just created c++ console application in Visual Studio 2013 Ultimate.
When I run code in debug mode:
error LNK1104: cannot open file 'C:\Users\example.exe'
Build: 1 succeeded
Ok, I think I found the solution.
I am currently using "Bitdefender Total Security 2015" and in the antivirus part,
I found the following message
So Bitdefender exactly deleted my .exe file everytime I compile in debug version.
Go to Antivirus part:
Click excluded files and folders on Exclusion tab
Finally add your project path
I did this way and my roject also worked in debug version.
I hope the solution is helpful