Hi, thanks for your help. I sort of knew using system() was probably a bad way of doing it, but I didn't know any better way. I tried using your example code and it worked fine... so I'll stick to...
Type: Posts; User: *Tom*
Hi, thanks for your help. I sort of knew using system() was probably a bad way of doing it, but I didn't know any better way. I tried using your example code and it worked fine... so I'll stick to...
Hi, I'm trying to make a program (in C) that performs certain tweaks within windows. Here's an extract that sets the interval time between windows update reboot nags
char command[256];
int...
Thanks for your help, I see what you mean about the LF/CR thing, but when I run the program it counts the correct number of lines. Can I rely on it to work for all windows xp machines?
I have...
This isn't the WHOLE code, but its enough to work. I just noticed after compiling this version that the WordsPerLine array never gets incremented even though the while loop appeared to be ok when i...
Hi, I'm trying to read in a text file and count the number of seperate words in each line of the file. The number of lines and the maximum line length is already known. The program compiles ok...
Hi, thanks for the help. When I said I didn't find anything relevant to c programming I meant I didn't find any examples, not that WM_QueryEndSession wasn't relevant!
You solved my problem, now I'm...
Hi, I'm trying to make a program to run in the background on my computer that times how long the computer has been running for. I can set it as a scheduled task to run on startup, but I don't know if...