I attempted to post this before but are not sure it went up so here it is again.

Basically i have created a map with the key being a unique number and the value being a pointer to a class. Up until this point i have been using add_edge(1,2,graph) where 1 and 2 are unique numbers assigned to the classes.

I now need to be able to add vertex and thought it would be something like add_vertex(3, graph) however it is not. How do i go about add a vertex with

If you have same code and error messages you should post those with your question. Otherwise, it's nearly impossible to tell why things aren't working.

Andrew Sutton
andrew.n.sutton@gmail.com