Now that I know how to send virtual keys to an application, I need some help on setting the window focus to the right window. Right now the virtual keys only go the the window that called them, but I...
Type: Posts; User: scrub05
Now that I know how to send virtual keys to an application, I need some help on setting the window focus to the right window. Right now the virtual keys only go the the window that called them, but I...
You are right, a little background will be helpful. I'm starting small to get the hang of keybd_event(), to eventually have a program that sends keystrokes to another window. BUT, right now with this...
I am trying to simply get an 'I' printed onto the screen and that is it, but I can't seem to get it done. Does anybody see a problem in the code? Thanks in advance for your help.
EDIT:: Right...
I think that I worded my previous post incorrectly. What I meant to ask was, how are bots made in c++? For instance, how does a bot for a pc game move your character/player/whatever without you...
How do bots work then if you can't directly send to the hardware?
I was wondering how to send/receive signals to and fo hardware with c++? I'm not asking for a complete description, just a phrase that I can search google with to get a tutorial on this subject. The...
Thanks for your help, it worked!
Here is my line of code:
Both of the variables, c & n, were defined as integers. I still can't get the line to print out any decimals. I'm going to fiddle around with it, but maybe you know...
Thanks for all of your help by the way, your suggestion worked. Also, same here, my first number wasn't always 0.95 or above.
Now how would I do that if it were a variable?
How do I make it so that this statement shows .8 instead of 0:
cout << 4/5;
It keeps displaying 0 instead of .8. Thanks for your help.
I know that the rand() function can produce random integers, but I want to produce non-integers in the range of 0 to 1. Is there a function that will do this? Thanks.