I'm learning shunting yard algorithm. I've read wikipedia and it provided me with detailed steps.
But if you write the expression like 1 2 + it will be evaluated in the same way as 1 + 2.
Do you know how to fix it?
I'm learning shunting yard algorithm. I've read wikipedia and it provided me with detailed steps.
But if you write the expression like 1 2 + it will be evaluated in the same way as 1 + 2.
Do you know how to fix it?