954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

c++ mouse

can some one help with how to use mouse in c++
can someone help me with how to use click option

k7_keshav
Newbie Poster
7 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Not until you tell us what your compiler and OS are. Standard C++ doesn't know jack about a mouse or click options.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

thanks for the reply
i have win xp
my compiler is turbo c++ 3.0

k7_keshav
Newbie Poster
7 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Tutbo C++ 3 is very old compiler. You should move to modern ANSI compilers ( not if your teacher asks you to use it :), no other choice left).

Well to use mouse in Turbo C++ 3 you will use dos.h. I got a link from google try it.
http://www.writeka.com/emage/mouse_events.html

Since Turbo C++ 3 is for DOS, you won't be able to use Windows API, which is of course preferred to track mouse events(in case of windows system).

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You