首页 > 其他 > 详细

[Error] 'strlen' was not declared in this scope

时间:2020-06-04 19:36:03      阅读:73      评论:0      收藏:0      [点我收藏+]

在写编译原理实验的时候,遇到了这个错误:

[Error] ‘strlen‘ was not declared in this scope

查阅之后得知,<string.h>里没有strlen,<cstring>才有。

#include<cstring>

 头头儿加上这行就好了。

[Error] 'strlen' was not declared in this scope

原文:https://www.cnblogs.com/xuaoium/p/13045429.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!