作者ric2k1 (Ric)
看板EE_DSnP
標題[公告] Homework #8 is now online
時間Wed Dec 12 21:06:06 2007
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