+ 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).
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.
+ 11
That's not possible in the code playground for what I know.
0
@Ulisses Cruz
I'm not talking about the code playground