The problem is that after crashing a few times, my application was targeted as malware by AVG antivirus and placed in the virus vault. I had to restart my system in order to scan it, after which no viruses were found. The message from AVG itself listed "conhost.exe" as a system process that was connected to my game executable in the Release folder of VC++ 2008.
Oh, and no matter how many times I try, the code will not create an executable in the Release configuration anymore, though the Debug configuration will (as long as I don't mind using the Debug dlls).
1>LINK : fatal error LNK1104: cannot open file 'C:\Users\user_1\Documents\Visual Studio 2008\Projects\sfml_cpp_1\Release\sfml_cpp_1.exe'
That's the error message I've been getting ever since my level parsing code has had a problem.
FILE *test; char *text; test = fopen("debugtext.txt", "r"); fgets(text, 35, test); int l = strlen(text); // insert null terminator over the newline text[l-2] = 0; cout << "File output: " << text << endl << "Output length: " << l << endl;
This is the code similar to the code that crashed my program and was assumed to be malware, except it had no problem working when I tested it.
Does anyone have any good idea on why this happened or has this happened to others?