看板 EE_DSnP 關於我們 聯絡資訊
請問一下,為什麼會在myUsage出error啊? compiling: cirCmd.cpp In file included from ../../include/util.h:13, from cirCmd.cpp:14: ../../include/myUsage.h: In member function ‘double MyUsage::checkMem() const ’: ../../include/myUsage.h:71: error: ‘strncmp’ was not declared in this scope ../../include/myUsage.h:72: error: ‘strchr’ was not declared in this scope --- strncmp和strchr是我們自已要寫的嗎QQ? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.168.229.227
timrau:#include <cstring> 01/02 13:20
BBSealion:感謝 已解決! 01/02 13:36