adapt to updated vorgabe04
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user