array and linked list for large problems

Hello everybody
I have a question, can anyone help me?
I write a program to solve "Shortest Path Problem"
and use an array of linked list to store the parameters (the nodes and arcs of network),
my program works correctly when the number of nodes (the size of array) is less than 150,
But it is interrupted for large scale networks (for example 2000 nodes)
and report this error:
"Windows has triggered a breakpoint in Network1.exe.

This may be due to a corruption of the heap, which indicates a bug in Network1.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while Network1.exe has focus.

The output window may have more diagnostic information."
What should I do?
Last edited on
Topic archived. No new replies allowed.