Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include "Operands.h"
  2. #include <queue>
  3. #include <iostream>
  4.  
  5. double Calculate(std::queue<Operand*>&);
  6.  
  7. int main()
  8. {
  9. std::queue<Operand*> aaa;
  10. aaa.push(new Number(2));
  11. aaa.push(new Number(4));
  12. aaa.push(new Add());
  13.  
  14. Calculate(aaa);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement