This commit is contained in:
Your Name 2025-10-16 02:28:26 +02:00
parent 9c25ad4c74
commit 9c8d712275

View File

@ -89,7 +89,6 @@ int main()
char input[1000]; char input[1000];
while (fgets(input,sizeof(input),stdin)!=NULL) while (fgets(input,sizeof(input),stdin)!=NULL)
{ {
printf("no input");
int flag=switch_operators(input); int flag=switch_operators(input);
input[strcspn(input,"\n")]=0; input[strcspn(input,"\n")]=0;
if (strlen(input)==0 || input[0]==' ') if (strlen(input)==0 || input[0]==' ')
@ -110,6 +109,7 @@ int main()
} }
print_stack(&mystack); print_stack(&mystack);
} }
printf("no input");
return 0; return 0;
} }