cviko8
This commit is contained in:
parent
48ac369a2d
commit
075524f7bc
@ -66,7 +66,13 @@ int get_input(char *string){
|
|||||||
|
|
||||||
|
|
||||||
void system_execute(struct tree* root){
|
void system_execute(struct tree* root){
|
||||||
|
if(root==NULL){
|
||||||
|
return;
|
||||||
|
}
|
||||||
printf("%s\n",root->question);
|
printf("%s\n",root->question);
|
||||||
|
if(root->question[0]=='*'){
|
||||||
|
return;
|
||||||
|
}
|
||||||
char *resp = calloc(SIZE,sizeof(char));
|
char *resp = calloc(SIZE,sizeof(char));
|
||||||
|
|
||||||
int flag = get_input(resp);
|
int flag = get_input(resp);
|
||||||
|
Loading…
Reference in New Issue
Block a user