chore: Add course material

This commit is contained in:
2026-10-05 11:27:21 +02:00
parent 971813c351
commit e8241fd1ff
660 changed files with 26658 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
#include "Keyboard.h"
#include <conio.h>
Keyboard::Keyboard() {}
bool Keyboard::isCharAvail() {
// 'return kbhit()' is sufficient, but Microsoft
// issues a warning 'coercing int to bool' and encourages
// the use of '!=0' to eliminate it
return _kbhit() != 0;
}
char Keyboard::getChar() { return _getch(); }