Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by Emanuel ( 8 years ago )
#include <iostream>
#include "Queue.hpp"

int main(int argc, char const *argv[])
{
 Queue<int> q(10);
 for(int i = 0; i < 10; ++i) q.Enqueue(i);
 while(!q.isempty())
 {
  std::cout<<q.Dequeue();
 }
 return 0;
}

 

Revise this Paste

Children: 93993
Your Name: Code Language: