Hi all, Im having problems with the following code,
It is a simple reverse polish calculator but it only seems to calculate the first two operands.
e.g,
$ ./program 6 6 +
will produce the answer 12
but so will,
$ ./program 6 6 6 +
http://www.pastebin.com/270086
many thanx.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.