buffet
This commit is contained in:
parent
1e0272f9e4
commit
b54643650e
@ -43,11 +43,11 @@ void search(struct tree* this){
|
|||||||
if(fgets(buffer, 5, stdin) == NULL){
|
if(fgets(buffer, 5, stdin) == NULL){
|
||||||
printf("Koniec vstupu\n");
|
printf("Koniec vstupu\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//char* r = fgets(buffer,5,stdin);
|
if(buffer[0] == '\n'){
|
||||||
//int x = strlen(buffer);
|
printf("Koniec vstupu\n");
|
||||||
//buffer[x-1]='\0';
|
return;
|
||||||
|
}
|
||||||
if(buffer[0] == '\n'){
|
if(buffer[0] == '\n'){
|
||||||
char* r = fgets(buffer,5,stdin);
|
char* r = fgets(buffer,5,stdin);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user