我在看完周末進度之後,
寫完了老師說的那些部分,
make之後,卻跑出這些訊息
../../lib/libcmd.a(cmdReader.o): In function `CmdParser::addHistory()':
cmdReader.cpp:(.text+0x19e): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned
long)'
../../lib/libcmd.a(cmdReader.o): In function `CmdParser::moveToHistory(int)':
cmdReader.cpp:(.text+0x9c4): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned
long)'
原本什麼都不寫就make好像也會出現這個耶,
想請問這是哪一部份漏了寫嗎?
我也找不到可以去哪裡寫move跟add History @@
謝謝!