This commit is contained in:
Maksym Malko 2020-11-27 10:37:02 +01:00
parent 6053eaab7b
commit 0393d236fb

View File

@ -78,7 +78,7 @@ void system_execute(struct tree* root){
int flag = get_input(resp); int flag = get_input(resp);
if(flag==-1){ if(flag==-1){
puts("Koniec vstupu"); puts("Koniec vstupu");
return; exit(0);
} }
if(resp[0]=='a'){ if(resp[0]=='a'){
system_execute(root->left); system_execute(root->left);