Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "bits/stdc++.h"
- #include "lab1.h"
- using namespace std;
- void Print(lab1::Queue q){
- while(!q.isEmpty()){
- cout << q.front() << ' ';
- q.pop();
- }
- }
- void SimpleSort(lab1::Queue& q){
- }
- int main(){
- srand(std::time(0));
- lab1::Queue queue(10000);
- for(int i = 0; i < queue.size(); ++i)
- queue.push(rand() % 10000);
- Print(queue);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement