源码文件 深度优先.cpp int visited[MAXVEX], void dfs(adjlist adj,int v) { int i; struct edgenode *p; for(i=0;iadjvex==0) //从v的未访问过的邻接点出发进行深度遍历 …