dalsi debugging
This commit is contained in:
parent
3df663a097
commit
1b5225eb40
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user