I know that I am digging up an old post, but would this also work?
bool circleFound(Node* headNode)
bool circleFound = false;
hash_map <Node*,int> hashedNodes;
Node * currNode = headNode;...
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: jblackwood3
Search: Search took 0.01 seconds.
Results 1 to 1 of 1
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!