Search:

Type: Posts; User: scrub05

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,840

    Setting window focus

    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...
  2. Replies
    9
    Views
    1,610

    You are right, a little background will be...

    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...
  3. Replies
    9
    Views
    1,610

    keybd_event() problem

    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...
  4. Thread: Building Bots

    by scrub05
    Replies
    2
    Views
    1,436

    Building Bots

    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...
  5. Replies
    6
    Views
    1,421

    How do bots work then if you can't directly send...

    How do bots work then if you can't directly send to the hardware?
  6. Replies
    6
    Views
    1,421

    Talking w/ 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...
  7. Replies
    10
    Views
    1,141

    Thanks for your help, it worked!

    Thanks for your help, it worked!
  8. Replies
    10
    Views
    1,141

    Here is my line of code: Both of the...

    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...
  9. Replies
    5
    Views
    1,963

    Thanks for all of your help by the way, your...

    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.
  10. Replies
    10
    Views
    1,141

    Now how would I do that if it were a variable?

    Now how would I do that if it were a variable?
  11. Replies
    10
    Views
    1,141

    A "cout" question

    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.
  12. Replies
    5
    Views
    1,963

    Random number generation

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