Calculator

Hello.
I want to do an calculator, like "calc.exe", in Windows (I'l use Qt, graphics), but I have problems to understand infix (Shunting Yard) and posfix (RPN) codes. This is not a real question, but can someone explain to me how these things works? If you could show me the C++ version, I'll be happier.

[REFERENCE: http://www.cplusplus.com/forum/beginner/120086/]
Thanks!
There isn't much to say except google it. You'll find plenty of reading, plus some videos to boot. Here's a pretty simple explanation to get started with:
http://www.reedbeta.com/blog/2011/12/11/the-shunting-yard-algorithm/

Wikipedia also has a very good, thorough overview:
http://en.wikipedia.org/wiki/Shunting_yard_algorithm

Disclaimer: I've only peeked at your reference thread, and you have some work to do. Good luck!
Do you have any source example?
Thanks!
At this point it is difficult not to be rude.

How do you expect to finish your project if you cannot click on links already copy-pasted for you?
Duoas, sorry, but I have searched all the page. I saw an "PSEUDOCODE" in both, but I don't knoe how to scan the stack, until it get on the end. The other things I've understanded. Do you have an C++ SOURCE?
Thank you.
Topic archived. No new replies allowed.