This commit is contained in:
Valér Jakubčo 2021-11-26 03:44:16 +01:00
parent 04596bd224
commit ec62517a4a

View File

@ -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;
}