+ 3

How can I make dynamic console?

I'm wondering if there's some ways to take the user input without any external library (not with cin but key events like pressing arrow down or caps lock on the keyboard).

25th Apr 2017, 3:57 PM
Toky R.
Toky R. - avatar
3 ответов
+ 3
What OS? OS Agnostic: Leave CPU Protected Mode http://wiki.osdev.org/Real_Mode https://www.codeproject.com/Articles/45788/The-Real-Protected-Long-mode-assembly-tutorial-for See: DOSBox, FreeDOS...don't start Linux/Windows, etc. OS-specific: You're in protected mode, so I'm pretty sure you need to import libraries (even if it's only to get to constants like WM_KEYDOWN). Some people use "curses" variants to provide consistent keyboard experiences without having to know weird things about terminals and implementation variations.
30th Apr 2017, 11:36 PM
Kirk Schafer
Kirk Schafer - avatar
+ 11
That's not possible in the code playground for what I know.
25th Apr 2017, 4:28 PM
Ulisses Cruz
Ulisses Cruz - avatar
0
@Ulisses Cruz I'm not talking about the code playground
25th Apr 2017, 5:28 PM
Toky R.
Toky R. - avatar