I\'m trying to implement a DFS algorithm in c++. I use it to answer the question: "are two vertexes connected or not?", but something went wrong.
c++