Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "List.h"
- int main()
- {
- Stack<int> n;
- Queue<char> q;
- n.push_front(1);
- n.push_front(4);
- std::cout << n.pop_front() << std::endl;
- q.push_back('a');
- q.push_back('b');
- std::cout << q.pop_back() << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement