problem solved
I have a program working in Visual Studio 2005 Version 8 that didn't compile after a few days and hitting the build solution command about 30 times while I wrote my source file. The program was working fine and dandy, and then I compiled it again using build solution and it didn't compile. I copy and pasted the text into a new source file and it worked fine again. Then after things seemed to be working fine again, I copy and pasted that text back into the original source file and it wouldn't compile. I continued my work with the new source file and then hours later it stopped working again within the new source file. I copy and pasted the current text into a brand new source file and it worked fine once again. Is this normal or is there something wrong with my code?
Here is the error message when it won't compile.
Code:
1>------ Build started: Project: project13, Configuration: Debug Win32 ------
1>Compiling...
1>project13.cpp
1>Linking...
1>LINK : fatal error LNK1168: cannot open C:\project13\project13\Debug\project13.exe for writing
1>Build log was saved at "file://c:\project13\project13\Debug\BuildLog.htm"
1>project13 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========