[英]strlen was not declared in this scope - C++
我需要在我的ubuntu中安装一个模拟器。 它是用C ++编写的,当我尝试运行make时,我得到此错误strlen was not declared in this scope
。 任何克服此错误的解决方案?
这应该这样做:
#include <cstring>
#include <cstring>
你的程序也可能正在寻找::strlen
而不是std::strlen
。 如果是这种情况,请尝试
using std::strlen;
你安装了所需的所有包吗?
如果那些东西不存在,您需要检查是否安装了正确的包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.