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