Compile Error
foo.c: In function 'main':
foo.c:12:15: error: 'true' undeclared (first use in this function)
12 | while(true)
| ^~~~
foo.c:2:1: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
1 | #include <stdio.h>
+++ |+#include <stdbool.h>
2 |
foo.c:12:15: note: each undeclared identifier is reported only once for each function it appears in
12 | while(true)
| ^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 5-4 最小公倍数
- 比赛
- 2023 程序设计与竞赛(作业3:中秋和国庆)
- 语言
- C
- 递交时间
- 2023-10-01 11:05:34
- 评测时间
- 2023-10-01 11:05:34
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes