I'm trying to find code that is used in the STL.
I have an assignment where we are to use stacks / queues, but he wants us to build the stack using a class and write our own functions for push/pop. I've got my program working using STL stuff, but now need to modify it and write my own class/functions. I'm not really sure what I need to do, and honestly don't understand why he likes to make us do things like this ( I get once or twice at the beginning, to get us to appreciate other people's work and how they've made things easier for us...but we're beyond the first or second program at this point and get that it's nice that someone wrote these libraries for us to use ...)
Can you point me in a direction to how to read / find the code that is written for these things so I can make an attempt at writing my own?