--------------------Configuration: this works - Win32 Debug--------------------
Compiling...
thisworks main.cpp
Linking...
LINK : fatal error LNK1168: cannot open Debug/this works.exe for writing
Error executing link.exe.
this works.exe - 1 error(s), 0 warning(s)
As soon as I change the source code it does that. Any simple explanation as to why?