看板 EE_DSnP 關於我們 聯絡資訊
我的compile 應該快要過了 只是為什麼一直出現error message: [Linker error] undefined reference to `Graph::readGraph()' 我看過樓上的推文,但是我還不知道該怎麼initialize static1u 變數 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.239.58
ric2k1:你有做成project 再 compile 嗎? graph.cpp有compile 過嗎? 01/06 23:52
james0419: [Linker error] undefined reference to `vtable for 01/07 12:17
james0419: Vertex' 01/07 12:18
ke1vin:是不是忘記寫Vertex的virtual function的定義式了? 01/07 12:34
wintercobra:有啊,還是不知道問題出在哪 01/08 00:48
ric2k1:這... code 寄過來我幫你們看一下... 01/08 14:03