0
I am new to c++.I am wandering how to use mouse in c++ output screen???
Plzz ,i need an urgent help
11 Answers
+ 1
Yes, there is most definitely a library in C++ that can accomplish this. You can access it using the format: #include <libName>
I suggest finishing the course on C++ on SoloLearn first of all, since a physical input library most definitely includes objects. The tutorial on SL covers those at the end of the course!
I just don't want you to bite the bullet too much! 👍
+ 4
You may learn using ReadConsoleInput() & other functions in windows.h for controlling Virtual Keys and Mouse Events.
https://docs.microsoft.com/en-us/windows/console/reading-input-buffer-events
+ 2
Like, using the click of the mouse as an input?
So, like if you want someone to click with it, and then be able to detect it?
+ 2
You can research the libraries available in the C++ language, but yes, I believe there is a library for this.
I highly suggest not jumping too far ahead though. 👍
+ 2
Welcome!
+ 1
Hello!
Can you expand on this? I do not exactly understand what you mean by: "how to use mouse is c++ output screen???"
Do you mean how to implement GUI's?
0
no . i mean i want to use mouse as input in program's output
0
is there any inbuilt function for that??
0
is there any inbuilt function for accessing output using four "arrow keys" of keyboard.too??
0
ok ,i got it.thanx for help👍✌