会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
想●致
相心
想●致
博客园
首页
新随笔
联系
订阅
管理
2016年12月1日
c语言中遇到“警告: the `gets' function is dangerous and should not be used.”的解决办法
摘要: 写于2016年12月1日。 在用c的库函数gets(str)时,编译出现该提示。原因在于linux下gcc不支持gets命令,要换成fgets(arr,size,stdin)。
阅读全文
posted @ 2016-12-01 14:36 相心
阅读(1934)
评论(0)
推荐(0)
编辑
公告