看板 EE_DSnP 關於我們 聯絡資訊
前面都過了 直到這裡.... > compiling: ltest.cpp In file included from ltest.cpp:3: ltest.h:64: warning: friend declaration `std::ostream& operator<<(std::ostream&, const DList<T>::LTestObj&)' declares a non-template function ltest.h:64: warning: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) -Wno-non-template-friend disables this warning ltest.h:108: error: expected `;' before "getPos" ltest.h:122: error: expected `;' before "void" 然後後面就是一大串的ltest.h和ltest.cpp和../../include/dlist.h的error 這是怎麼了呢orz 因為後面一大串 我就沒貼了 如果需要完整板 請推文告訴我@@ 謝謝 orz -- 勇氣,並不是不會害怕, 而是即使怕的要命,非常不安,卻仍堅持信念的往前邁進。 因為認為是對的事。 ~ Phantasia -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.110.47
timrau:ltest.h被修改過了? 12/28 10:58
timrau:剛剛某同學同樣message的成因:dlist.h大括號不匹配 12/28 13:32
ohb:嗯 我找到了 在某處少一個小括號 orz 12/28 16:30