看板 EE_DSnP 關於我們 聯絡資訊
想在問一個問題 作業中要我們在 readgraph的memberfunction中allocate the memory for all the Vertex object, but wouldn't these objects be invalid out of the function's scope? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.137.72.137
AlanLee76083:我也想問這個問題,怎麼把readgraph allocate memory 12/23 20:59
AlanLee76083:指到** _tovertice 12/23 21:02
ilway25:new 一個 pointer 指過去 ? 12/23 21:14