Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Operator Determination (http://www.programmingforums.org/showthread.php?t=1335)

yevi Nov 29th, 2004 12:17 PM

Hello!

I have to create a template-stack of operators +,*,- (stored as chars probably)
where I have to perform a poped operator on 2 numbers, but the determination of the poped operator has to be without using any if, switch and etc. statements.

How can I do that? (to use inheritance, templates??)


All times are GMT -5. The time now is 2:50 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC