i must do an project with sorting using priority queue..i find some things on books but the code was with classes and i don't learned about it ...please can halp me with some oppinion

It might help you to know that "sorting using priority queue" is pretty much a synonym for an algorithm called Heap Sort. A priority queue is almost invariably implemented as a heap data structure. And once you have the elements arranged in a heap structure, it is a simple matter to construct the sorted array from it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.