I am making a program to compute minimum cost routes, using minimal spanning trees. I did my implementation in c + + but I could not make a graphical interface to read the input file, so I decided to pass it to Java language and create the interface using Netbeans. Herés my code in c++:
I am making a program to compute minimum cost routes, using minimal spanning trees.
Share
I can’t see where any of the following arrays are initialised:
but they are accessed which would be a possible cause for
NullPointerException.