看板 EE_DSnP 關於我們 聯絡資訊
Please start in ASAP. 題目稍微有修改, 跟上課說的有一點不同, 主要是 Graph 的 constructor 將不用 allocate memory for vertices. 而是在另一個 member function "Graph::readGraph()" 中才 allocate 並且 construct the graph. 這樣子就不用在 class Graph 中宣告一個 Vertex ** 來存所有的 vertices 了. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.128.162