small help !!

is there any code for
template queue class using vector !!!

or how can i write this class !!

please help me !!
What are you trying to write?

A vector of queues
Or a queue of vectors?
vector of queues !

constructor
add
delete
print

these function for queues
Both vector and queue are templates.
A vector of queues is simply:
1
2
3
4
5
6
#include <vector>
#include <queue>

using namespace std;

vector<queue<int>>     vq;

Topic archived. No new replies allowed.