Search:

Type: Posts; User: PrimeTime00

Search: Search took 0.01 seconds.

  1. Yeah, this is kinda a tough one, but don't let it...

    Yeah, this is kinda a tough one, but don't let it get to ya because its one of those things that really isn't a programmers fault :)

    after each scanf() loop, put a fflush(stdin)

    for(....)
    ...
  2. Replies
    4
    Views
    1,790

    Hi, I don't really understand what you are...

    Hi,

    I don't really understand what you are trying to do with the program


    while (num!=-1) {
    sum=num+num;
    valid++;
    printf("Please enter a positive value or -1 to terminate the program:");...
  3. Replies
    6
    Views
    1,230

    int i,j=1,n; printf("donnez n\n");...

    int i,j=1,n;
    printf("donnez n\n");
    for(i=0;i<n;i++)


    Your n needs some sort of value.

    If you want to calculate the factorial of j,
    set j as the number you want to factorial.
    and the n =...
  4. Replies
    3
    Views
    1,104

    Because I don't know if the process that I'm...

    Because I don't know if the process that I'm stepping through are User processes or System processes.

    There is nothing that tell you if it is or not.

    Take the taskmgr for example, this will...
  5. Replies
    3
    Views
    1,104

    Retrieving a List of Processes

    Hi,

    I'm trying to retrive a list of the processes in memory.
    I can use EnumProcesses and Process32First, but this returns
    much more information than I need.

    I want to only list the processes...
  6. Replies
    7
    Views
    6,037

    :cool: Windows is very strange... It turns...

    :cool: Windows is very strange...

    It turns out, simulating the shift key to select text only works correctly when NUMLOCK is off...

    The heck?

    Oh well, problem solved. I'm giving myself 10...
  7. Replies
    1
    Views
    2,508

    This code will break out of your read loop after...

    This code will break out of your read loop after the first line is read in. This will cause only 1 line to be read. The data inside the other parts of your array are junk characters because they...
  8. Replies
    7
    Views
    6,037

    I tried that... Still a no go. The interesting...

    I tried that... Still a no go.

    The interesting this is when I step through the code with the debugger. Once it signals the VK_SHIFT, i can move my cursor and it will select text, so I know the...
  9. Replies
    7
    Views
    6,037

    I've tried changing the second parameter to the...

    I've tried changing the second parameter to the scan code, but I find that this produces the same results as before.



    keybd_event(VK_RSHIFT, MapVirtualKey(VK_RSHIFT, 0), 0, 0);...
  10. Replies
    7
    Views
    6,037

    I just tried it but it would not do anything, I...

    I just tried it but it would not do anything, I know that I am getting the correct window too, since the GetWindowText() returns what window I want to select the text from... Other commands such as...
  11. Replies
    7
    Views
    6,037

    Simulating Shift Key

    Hi everyone,

    I'm trying to simulate keyboard keys. I can successfully do this
    using the keybd_event() or SendInput() functions, however, I've
    run into a little problem...

    I want to simulate...
Results 1 to 11 of 11