How do I detect a mouse click and the coordinate of it in C++?
Thanks in advance.
Printable View
How do I detect a mouse click and the coordinate of it in C++?
Thanks in advance.
The easiest way is to use a mouse library. Mouse++ is pretty good if you're using Borland or Turbo.
Is there a mouse library for C?
Certainly! Go to programmersheaven.com and search for mouse. You'll find quite a few libraries.
There's also some Mouse routines if you follow the links in the links section on this page.