So, at this point I have
The problem is, the logger stops loggin after another program is clicked. So say if I ran the program, then internet explorer, whatever I type in the address bar of internet explorerer is not logged. Is there any input/output stream function that can deal with this?
if ((fp = fopen("C:\\Documents and Settings\\Famliy\\Desktop\\loggerkey.txt", "wb")) == NULL)
printf("Cannot open file for writing");
while ((c = getch()) != '~')
} // main