3,973 questions
This page has some info on changing the command lines input mode...
https://iq.direct/blog/325-how-to-read-direct-mouse-and-keyboard-events-in-c-console-app.html
Very legacy, but it's a start.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have a C++ command line app, but I want to get away from cin, and scanf and all that style of API.
How can I access keyboard input the way I would for a CoreWindow for example.
This page has some info on changing the command lines input mode...
https://iq.direct/blog/325-how-to-read-direct-mouse-and-keyboard-events-in-c-console-app.html
Very legacy, but it's a start.
Windows Terminal: Microsoft's next console for all command lines | 4sysops says we can use Console Virtual Terminal Sequences. If so then you have the ability to create quite sophisticated console programs.