Homework/HW10/graph.cc
void Graph::addVertex(int index)
{
    string s = "A";
    for (int i = numVertices; i <= index; i++)
    {
        s[0] = char('A' + i);
        addVertex(s);
    }
}
// Adds a vertex with the specified ind_nex. It also adds all the
// intermediate vertices from the current position to the new one. It
// creates labels with uppercase letters in order.
Adds a vertex with the specified ind_nex. It also adds all the
intermediate vertices from the current position to the new one. It
creates labels with uppercase letters in order.
Adds a vertex with the specified ind_nex . It also adds all the intermediate vertices from the current position to the new one . It creates labels with uppercase letters in order .
void Graph::addVertex(int index)
{
    string s = "A";
    for (int i = numVertices; i <= index; i++)
    {
        s[0] = char('A' + i);
        addVertex(s);
    }
}
void Graph :: addVertex ( int index ) { string s = " " ; for ( int i = numVertices ; i <= index ; i ++ ) { s [ 0 ] = char ( ' ' + i ) ; addVertex ( s ) ; } }
Adds a vertex with the specified ind_nex.
Adds a vertex with the specified ind_nex .