medzera pred nacitavanim ignoruje whitespace
This commit is contained in:
parent
586b4d1a42
commit
7363b14b50
@ -46,7 +46,7 @@ void spustac(struct uzol* uzol) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
char odpoved; // iacitavam a/n
|
char odpoved; // iacitavam a/n
|
||||||
scanf("%c",&odpoved);
|
scanf(" %c",&odpoved);
|
||||||
|
|
||||||
if (odpoved == 'a') {
|
if (odpoved == 'a') {
|
||||||
spustac (uzol -> lavy);
|
spustac (uzol -> lavy);
|
||||||
@ -79,23 +79,4 @@ int main() {
|
|||||||
destroy_tree(strom);
|
destroy_tree(strom);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user