Queue is a project mainly written in C and C++, it's free.
Daft implementation of a queue using two stacks
Daft implementation of a queue using two stacks, written to make a point. See http://pozorvlak.livejournal.com/164716.html for more details.
To build, type
./do
Or, if you have redo installed (http://github.com/apenwarr/redo), type
redo
Look inside the file "test" for dump output.