wrote:
> I am a beginner working with STLs
>
> I need to delete the current object in the queue. Which container
> provides this function? and which algorithm should i use?
What is the "queue" that you refer to? In case you didn't know,
there is 'std::queue' "container" (actually it's an adapter).
And what do you mean by "delete the current object"? Usually
removing the object from a container disposes of it, and there
is no need to additionally "delete" it.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask