1

adapt to updated vorgabe04

This commit is contained in:
churl
2022-06-05 16:50:22 +02:00
parent a8b36a3120
commit b37bb45070
2 changed files with 3 additions and 12 deletions

View File

@ -11,19 +11,9 @@
#include "user/HeapDemo.h"
#include "kernel/Allocator.h"
#include "kernel/Globals.h"
#include "lib/Input.h"
#include "user/MyObj.h"
// Hilfsfunktion: Auf Return-Taste warten
void waitForReturn() {
/* hier muss Code eingefuegt werden */
Key key;
do {
key = kb.key_hit();
} while ((char)key != '\n');
}
void heap_demo() {
kout << "HEAP_DEMO ===================================================================" << endl;

View File

@ -9,6 +9,7 @@
*****************************************************************************/
#include "kernel/Globals.h"
#include "lib/Input.h"
void keyboard_demo() {
@ -17,7 +18,7 @@ void keyboard_demo() {
kout << "Keyboard Demo: " << endl;
while (true) {
kout << kb.key_hit();
kout << getch();
kout.flush();
}
}