cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Brovuka's algorithm
Brovuka's algorithm
Apr 10, 2014 at 2:15am UTC
kabary
(3)
i am trying to implement brovukas algorithm to find the minimum spanning tree of a graph but my program crashes in the find function when i run it
http://pastebin.com/pJa2QRDr
sample input
http://postimg.org/image/h805lhyjz/
can someone please help me
Apr 10, 2014 at 6:29pm UTC
Mats
(1398)
That kind of error is usually caused by stepping out of bounds of an array. Make sure you are always in bounds of your arrays, always. Then make double sure of it.
Topic archived. No new replies allowed.