11 lines
135 B
C
11 lines
135 B
C
|
#include <stdio.h>
|
||
|
#include "conio.h"
|
||
|
|
||
|
int getchar(void) {
|
||
|
int c = __con_getch();
|
||
|
if (c == 0) {
|
||
|
c = EOF;
|
||
|
}
|
||
|
return c;
|
||
|
}
|