AndyHollywood
Programmer
Does anybody know why I would get a debug assertion failure when i run my program? It seems to happen when when i try to output to a text file with the following code;
FILE *pKBLog;
/*DLL ATTACH*/
pKBLog = fopen("d:\\logs\\_kblog.txt", "w" /* Open log */
fprintf(pKBLog, "Andrew/n"
/*DLL DETACH*/
fclose(pKBLog);
For some reason i get an assertion error, evem though from what i have read i am using the functions properly.
Hope some one can help me
Cheers in advance
Andy )
FILE *pKBLog;
/*DLL ATTACH*/
pKBLog = fopen("d:\\logs\\_kblog.txt", "w" /* Open log */
fprintf(pKBLog, "Andrew/n"
/*DLL DETACH*/
fclose(pKBLog);
For some reason i get an assertion error, evem though from what i have read i am using the functions properly.
Hope some one can help me
Cheers in advance
Andy )