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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.