|
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??)
|