inhertience

can anybody tell how to make min priority que from a max priority que by inheriting it in a class ...

class min_que : public max_priority_queue<t> // use this
closed account (o1vk4iN6)
You can just use the STL priority_queue, otherwise it depends on how max_priority_queue is implemented.
yaa i am using stl priority queue then how to do... can anybody give the code pls
Topic archived. No new replies allowed.