Thread: Mice Are Nesting!!!

  1. #1
    Me pwn you.
    Join Date
    Feb 2006
    Location
    At my computer or in my bed.
    Posts
    46

    Mice Are Nesting!!!

    Maybe, would there be one of you kind enough to give me
    a simple example of out to set up, colloct, and read mouse input
    on a console program? Just tell me what to include and give me a simple one or two function program demonstraiting mouse input. Such as...

    Code:
    #include <MouseyInputCollecterThingyMaDooBob>
    using namespace  std;
    
    int  main(void) {
    input_mouse(x,y);
    int  X; 
    int  Y; 
    Y= mouse.inputY;
    X= mouse.inputX;
    if  (X == 5 && Y == 2) { /* do somethin' */}
    return  0;}
    Last edited by Dagger; 02-03-2006 at 05:00 PM.

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    What OS?

  3. #3

  4. #4
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    interesting name for a headerfile

    I think I have an example somewhere (if I can still find a 15 year old book), but it's for Turbo Pascal.

  5. #5
    Me pwn you.
    Join Date
    Feb 2006
    Location
    At my computer or in my bed.
    Posts
    46
    Sorry guys, I haven't replied in so long.
    I FORGOT ALL ABOUT this thread, and now I'm sure none will
    read it, but my OS is WINDOWS ME. If it matters (which I'm sure
    it does) my compiler is Dev-Cpp 4.9.8.0. Again, sorry about
    not responding to your questions for like two days.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multipul Mice!
    By Yarin in forum Windows Programming
    Replies: 3
    Last Post: 09-05-2007, 11:28 PM
  2. One computer using two mice & two keyboards
    By Series X4 1.0 in forum Tech Board
    Replies: 11
    Last Post: 06-28-2004, 02:07 PM
  3. Nesting
    By coo_pal in forum C Programming
    Replies: 1
    Last Post: 01-27-2003, 11:16 PM
  4. Nesting Parentheses
    By XZSNPP in forum C++ Programming
    Replies: 6
    Last Post: 01-18-2003, 10:01 PM
  5. #include nesting level?
    By Josho in forum C++ Programming
    Replies: 2
    Last Post: 09-23-2001, 12:28 AM