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 can't see where any of the following arrays are initialised:
public static int matrizPesos[][];
public static char arbolMinimal[];
public static int distancia[];
public static int linkeoNodos[];
but they are accessed which would be a possible cause for NullPointerException
.