#include #include "ALGraph.h" #include "CriticalPathMethod.h" int main(int argc, char* argv[]) { ALGraph G; printf("████████ 创建并打印有向网... \n"); { char* path[4]; path[0] = ""; path[1] = "TestData_DN.txt"; path[2] = ""; path[3] = ""; CreateGraph(&G, path); PrintGraph(G); } PressEnterToContinue(debug); printf("████████ 求取有向网的关键路径... \n"); { CriticalPath(G); } PressEnterToContinue(debug); return 0; }