+ 7

Can we use mouse click in c++?

18th Feb 2018, 4:15 PM
Aakash Jakhmola
Aakash Jakhmola - avatar
4 Antworten
+ 6
how?
18th Feb 2018, 4:22 PM
Aakash Jakhmola
Aakash Jakhmola - avatar
+ 5
DO NOT USE TURBO C++ You will need to download a library online, but yes.
18th Feb 2018, 5:43 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 3
You can read Mouse Events in Code::Blocks or Visual Studio on a Windows Platform using WinAPI. All you need to do is call ReadConsoleInput() and then respond or execute functions according to the type of mouse input (hover, click, double click, wheel scroll, right click, etc). Read more on this here: https://docs.microsoft.com/en-us/windows/console/reading-input-buffer-events
19th Feb 2018, 4:54 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar