test
This commit is contained in:
parent
04596bd224
commit
ec62517a4a
@ -57,13 +57,11 @@ void ask(struct node* tree){
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
char buff[SIZE];
|
char buff[SIZE];
|
||||||
char* r = fgets(buff, SIZE, stdin);
|
char* r = fgets(buff, SIZE, stdin);;
|
||||||
if(r == NULL){
|
while(r[0] == '\n'){
|
||||||
puts("Koniec vstupu");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
r = fgets(buff, SIZE, stdin);
|
r = fgets(buff, SIZE, stdin);
|
||||||
if(r == NULL){
|
}
|
||||||
|
if(r == NULL){
|
||||||
puts("Koniec vstupu");
|
puts("Koniec vstupu");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user