This commit is contained in:
Maryna Kravtsova 2020-11-22 17:09:49 +01:00
parent 1e0272f9e4
commit b54643650e

View File

@ -43,11 +43,11 @@ void search(struct tree* this){
if(fgets(buffer, 5, stdin) == NULL){
printf("Koniec vstupu\n");
return;
}
//char* r = fgets(buffer,5,stdin);
//int x = strlen(buffer);
//buffer[x-1]='\0';
}
if(buffer[0] == '\n'){
printf("Koniec vstupu\n");
return;
}
if(buffer[0] == '\n'){
char* r = fgets(buffer,5,stdin);
}