对应于课本的资源。。代码 Status TopologicalOrder(ALGraph G,SqStack &T,int ve[]) { int k,indegree[MAX_VERTEX_NUM],count=0; int i,j; SqStack S; ArcNode *p; FindInDegree(G,indegree); InitStack(S); for(i=0;i