You are here:

C++/C / C++ coding help required

Advertisement


Question
Hi Amit,
      Could you tell me how i could write a c/c++ code to display the coordinates of a mouse pointer during runtime.
The program should display the coordaintes,i.e.,display should change during runtime, and also detect left or right clicks.Cold you please provide code for this program.I have but elementary knowledge of the languages.
Also do you know anything about DOS events or inturrupts?

Answer
Refer to http://en.allexperts.com/q/C-1040/Program-co-ordination-mouse-1.htm and http://www.writeka.com/emage/mouse_events.html

Frankly I dont have much expertise in the question you ask. So I did some google search and here are some relevant links. Hope it helps.  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Amit Kumar

Expertise

I can answer Cplusplus language and library questions, including STL, ACE, Boost. I have a good background in Mathematics.

Experience

Programming in CPP for about 8 years. Industry experience of 4 years.

Education/Credentials
Bachelors and Masters in Computer Science from Indian Institute of Technology Delhi.

©2016 About.com. All rights reserved.