I need the input to be a sting I think, to be able to accept the mathmatical signs as well.
I tried adding cases to the switch command, for numbers 0-9, e.g.
case '0': strcat(total," 0 ");...
Type: Posts; User: Stuu
I need the input to be a sting I think, to be able to accept the mathmatical signs as well.
I tried adding cases to the switch command, for numbers 0-9, e.g.
case '0': strcat(total," 0 ");...
Something simple, like 5+2*6-3=
I realize that the program does not give preference to multiplication and division, but that is needed at this point. But I want to be able to out put like this...
I am trying to write a simple calculation program, that returns the mathmatical sequence entered written out with the total.
//still doesnt add the number to the string "total" as it goes...
I am looking for information on how write a program that initalizes and then reads a character function table. The information I have on this is not very in depth, can anyone recommend a web based...