My guess is that in main.cpp, the Graph object has not been initiaized, so when ReadGraph() is called and attempts to delete arrayEdges, CRASH/COREDUMP.
In main() initialize all Graph variables to 0 before calling ReadGraph() to see if that resolves your problem.
int main()
{
Graph g;
memset(&g, 0, sizeof(Graph));
readGraph(g);
<snip>
Last edited by Ancient Dragon; Dec 2nd, 2008 at 10:33 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.