du6 - 9
This commit is contained in:
parent
bfcae1b1dd
commit
3f26ebe4a7
@ -83,12 +83,15 @@ void run_system(Tree *node) {
|
||||
return;
|
||||
}
|
||||
|
||||
int c = getchar();
|
||||
int c;
|
||||
|
||||
if (c == EOF) {
|
||||
printf("Koniec vstupu\n");
|
||||
return;
|
||||
}
|
||||
do {
|
||||
c = getchar();
|
||||
if (c == EOF) {
|
||||
printf("Koniec vstupu\n");
|
||||
return;
|
||||
}
|
||||
} while (c=='\n' || c=='\r' || c==' ' || c=='\t');
|
||||
|
||||
if (c == 'a') {
|
||||
run_system(node->left);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user