+ 7
Can we use mouse click in c++?
4 odpowiedzi
+ 6
how?
+ 5
DO NOT USE TURBO C++
You will need to download a library online, but yes.
+ 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