我在看完周末进度之后,
写完了老师说的那些部分,
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 @@
谢谢!