#include #include "KbdInput.hh" int main() { int loop = 1; char c = 'a'; KbdInput K; K.Off(); K.On(); while (loop) { c = K.nextChar(); if (c == 'q') loop = 0; if (c) printf("c is %c\n\r", c); } K.Off(); return 0; }