All pastes #220941 Raw Edit

Unnamed

public text v1 · immutable
#220941 ·published 2006-10-25 12:32 UTC
rendered paste body
#
void digraph::addNode(int n, int a)
#
{
#
        node foundNode;
#
        node adjacentNode;
#       vector<node>::iterator* i;
 
#
        for(i = graphNodes.begin(); i != graphNodes.end(); i++)
#
        {
#
                if(i->getKey() == n)
#
                {
#
                        foundNode = *i;
#               // or foundNode = i;
                }
#
        }