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(....)
...
Type: Posts; User: PrimeTime00
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(....)
...
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:");...
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 =...
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...
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...
: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...
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...
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...
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);...
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...
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...