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