Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "Queue.h"
- using namespace std;
- int main()
- {
- linked_q q2;
- q2.add_q(20);
- q2.add_q(30);
- q2.add_q(40);
- q2.add_q(50);
- cout << "the count before removing is: " << q2.getcount() << endl;
- q2.remoove_q();
- cout << "the count after removing is: " << q2.getcount() << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement