strcmp找不到标识符

vs 2022, “strcmp”: 找不到标识符
模拟三次登录操作,登录失败退出

img

开头加上
#include <string.h>
如果是C++语言
加上
#include <cstring>

头文件写没?string.h