priority queue - prim algorithms

Hello, I am learning C++, i must code prim algorithms, can anyone help me? Thanks
Yes, we can help.
Thanks so much. Can you show me?
no. Try it your self first, and we'll help you debug your code.
A good start is to do some research:

http://en.wikipedia.org/wiki/Prim's_algorithm

When you have absorbed what is required you can paste your code here, ask questions about how to go about implementing it by all means.

But you need to show us that you are the one doing the work, not us.
I suggest you look at Boost Graph Library. It already has most of these implemented. If nothing else, you can use it to create a graph.
Topic archived. No new replies allowed.