How do u build a graph????

March 24, 2009 at 18:06:35
Specs: Windows Vista
Using an adajacency list and u readin pairs of values for d edges? Using dev c++

See More: How do u build a graph????

Report •


#1
March 24, 2009 at 18:48:32
I hav reached this far>>>>>>>

typedef struct Edge
{

string d[]; //the second node in d edge
double cost;
double duration;

}Edge, * EdgePtr;

struct Vertex
{
string e; //first node in edge
EdgePtr firstEdge;
}Vertex


... how do i create a linked list for each of the nodes?
....how do i build a graph?


Report •
Related Solutions


Ask Question