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