We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I am attempting to build an advanced calculator in Processing, but I am having trouble finding a way to evaluate the equation. When the user types in an equation, each character is stored in a variable (including +, -, /, !, etc.). The equation is then stored in a string (char1 + "" + char2 + "" + char3, etc.). I am unsure how to generate an answer out of this. I would greatly appreciate it if someone could let me know how to accomplish this or direct me where to go.