dalsi debugging

This commit is contained in:
Valér Jakubčo 2021-10-22 00:20:41 +02:00
parent 3df663a097
commit 1b5225eb40

View File

@ -78,15 +78,15 @@ int main(){
} else if(isdigit(char_value[0]) != 0 ){
float_value = strtof(char_value, NULL);
//printf("float value: %f\n",float_value);
if(float_value == 0){
/*if(float_value == 0){
puts("bad input");
break;
} else {
break;*/
//} else {
push_stack(&myStack,float_value);
print_stack(&myStack);
printf("\n");
continue;
}
} else {
puts("bad input");
break;