[algogeeks] Re: priority queue using C++ STL
do the above this way (pointer way without array). On Jun 14, 5:15 am, shaarang tyagi [EMAIL PROTECTED] wrote: you must do the following: class vertex { public: vertex *parent; int value; vertex
[algogeeks] Re: priority queue using C++ STL
you must do the following: class vertex { public: vertex *parent; int value; vertex() { parent = NULL; value = rand(); } ~vertex(); }Array[10];