I've made a few programs in Windows using C now, but one thing bothers me:- the fact that I use the file I/O functions defined in stdio.h when I should be using the Win32 functions. Are they any good?
I'd like to change my current string debug file output function:-
so that it uses Windows file I/O. The only thing is, there doesn't appear to be an equivalent for fprintf. Any ideas?
int DebugCh(char *debugchar)
fdebug = fopen("debug.txt", "at");
fprintf(fdebug, "%s\n", debugchar);