Code:
cout<< "Insert the maximum number of hops of the routing algorithm used :"; cin>> num_of_hops; cout << endl << "number of paths : " << num_of_paths << endl; int path_matrix[][]; path_matrix[num_of_paths][num_of_hops + 1]; float path_length[]; // The total length of each path path_length[num_of_paths];