这是为什么,dev可以编译++
  • 板块学术版
  • 楼主hjy2333
  • 当前回复1
  • 已保存回复1
  • 发布时间2020/11/5 09:08
  • 上次更新2023/11/5 08:58:40
查看原帖
这是为什么,dev可以编译++
65935
hjy2333楼主2020/11/5 09:08

/tmp/compiler_7qbvscgg/src: 在函数‘main’中: /tmp/compiler_7qbvscgg/src:8:10: 警告:格式 ‘%s’ expects argument of type ‘char ’, but argument 2 has type ‘char ()[101]’ [-Wformat=] scanf("%s",&b); ~^ ~~ /tmp/compiler_7qbvscgg/src:22:2: 错误:unknown type name ‘bool’; did you mean ‘_Bool’? bool f=0; ^~~~ _Bool

2020/11/5 09:08
加载中...