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

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

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

Member Avatar for GreenDay2001

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).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.