Quote Originally Posted by laserlight View Post
It might be easier to do what some hand held scientific calculators do: just read in the coefficients and the exponents.

Yeh I thought about that, but as matsp said it's too easy like that. I was aiming at entering the whole string just for completion/user friendliness, and of course a challenge.

matsp: How can I read the string into a buffer? Do I use some alternative to scanf() to read in the char? If you have some information to point me towards that would be great (baring in mind I'm not that experienced). Cheers