Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdio.h"
- #include "kernel/keyboard.h"
- char character;
- char getch() {
- while (character == 0) {
- return character;
- }
- }
- When i try to:
- char a = getch();
- printf(a);
- it just says "S"
- that's all it prints out what the problem?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement