demo/hello_world.cc
changeset 2301 eb378706bd3d
parent 2195 f47faf6913ab
child 2391 14a343be7a5a
equal deleted inserted replaced
0:4e09ef5c9446 1:60afc8293615
    33 
    33 
    34 typedef ListGraph::Node  Node;
    34 typedef ListGraph::Node  Node;
    35 typedef ListGraph::Edge  Edge;
    35 typedef ListGraph::Edge  Edge;
    36 
    36 
    37 
    37 
    38 int  main( int argc, char *argv[] )
    38 int main()
    39 {
    39 {
    40   // Declare the graph itself and a NodeMap, witch will store the characters
    40   // Declare the graph itself and a NodeMap, witch will store the characters
    41   // assigned to the nodes
    41   // assigned to the nodes
    42   ListGraph  graph;
    42   ListGraph  graph;
    43   ListGraph::NodeMap<char>  char_map(graph);
    43   ListGraph::NodeMap<char>  char_map(graph);