收起
strcpy()和strcmp()是C语言的库函数,你应该包含下面头文件#include <cstring>
strcpy()
strcmp()
#include <cstring>
报告相同问题?