do u know some code that we can use mouse in c++ because i want to click some button in my assignment ?

Recommended Answers

You have to use operating system specific api functions because c++ itself does not support the mouse. On MS-Windows I think you can also use pdcurses library or win32 api console functions. Don't know about *nix, except use curses library for mouse.

Jump to Post

All 2 Replies

You have to use operating system specific api functions because c++ itself does not support the mouse. On MS-Windows I think you can also use pdcurses library or win32 api console functions. Don't know about *nix, except use curses library for mouse.

What specifically do you mean by "click some button"?

Be a part of the DaniWeb community

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