Long time no see
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#include "head.h"
|
||||
|
||||
char get_num(void){
|
||||
char ws;
|
||||
do{
|
||||
wchar_t ch; ws = 0;
|
||||
while((ch=getwchar())>='0'&&ch<='9')
|
||||
ws = (ws*10) + (ch-'0');
|
||||
}while(ws==0);
|
||||
return ws;
|
||||
}
|
||||
|
||||
void get_row(wchar_t row[]){
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user