Add number input.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "myio.h"
|
||||
#include "../io/myio.h"
|
||||
|
||||
|
||||
int main()
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include "myio.h"
|
||||
|
||||
unsigned char getSingleChar()
|
||||
{
|
||||
unsigned char result = 'a';
|
||||
|
||||
result = getchar();
|
||||
while(result != '\n' && getchar() != '\n') {}
|
||||
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user