?? graph.cpp
字號:
#include"Graph2.h"
int main() {
//Graph<char,int>graph(DefaultSize);
//graph.Count();
//cout<<"深度優先搜索\n";
//graph.DFS();
//cout<<"\n廣度優先搜索\n";
//graph.BFS(0);
//cout<<endl;
Graph<char,int>graph1(DefaultSize);
graph1.Count();
cout<<"\n有向無環圖的拓撲排序\n";
graph1.TopologicalSort();
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -