If it is not some learning assignment, use boost::graph library, namely boost::adjacent_list.
Set the number of vertises, set edges with properties (the lib has functions to do it) , and use...
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: geoyar
Search: Search took 0.01 seconds.
Results 1 to 5 of 5
Click Here to Expand Forum to Full Width