Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <queue>
- using namespace std;
- int main() {
- queue<int> Q;
- int a = 5;
- Q.push(1);
- Q.push(2);
- Q.push(3);
- Q.push(a);
- cout << Q.front() << endl;
- cout << Q.front() << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement