I have a little program up and running...with which strings like "x + 2 y = z" can be meaningfully parsed (by using stringstreams )and used.
But it does not seem very 'nice' that the input has to be riddled with whitespaces separating the tokens. What is the best way of parsing something like "x+2y=z" ?