how to create a queue in c++?

the kind of program that i actually want to write is:there are different data that comes in from a server and we have to send that data to another server,and among that data we have to filter data,make some internal calculation from our side and then we have to send,for that my idea is to create a queue ,where data can reside for a fixed time..we will do internal calculation and send and at that time other data that are coming will reside in another queue..and after the first queue is executed ,then we can do internal calculation for another queue but cant get idea ,about how to implement queue in c++?
Um... would the normal STL queue work for your purposes?

http://www.cplusplus.com/reference/stl/queue/
Example: http://www.cplusplus.com/reference/stl/queue/push/

-Albatross
Topic archived. No new replies allowed.