Search:

Type: Posts; User: *Tom*

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,022

    Hi, thanks for your help. I sort of knew using...

    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...
  2. Replies
    4
    Views
    2,022

    Problem using reg.exe

    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...
  3. Replies
    8
    Views
    1,379

    Thanks for your help, I see what you mean about...

    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...
  4. Replies
    8
    Views
    1,379

    This isn't the WHOLE code, but its enough to...

    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...
  5. Replies
    8
    Views
    1,379

    Dynamic memory problem

    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...
  6. Replies
    7
    Views
    3,517

    Hi, thanks for the help. When I said I didn't...

    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...
  7. Replies
    7
    Views
    3,517

    How do I detect if windows is shutting down?

    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...
Results 1 to 7 of 7