View Single Post
Old Apr 22nd, 2008, 8:55 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,827
Rep Power: 5 Sane will become famous soon enough
Re: C++ Priority Queues (Heaps)

If you need it for practical purposes, use the STL's Priority Queue.

If you want an implementation written from scratch, good luck getting one of us to do your homework. Read your algorithm's textbook or Wikipedia. If it's for learning purposes, google Priority Queue Implementation In C++.
Sane is offline   Reply With Quote