Compile Error
foo.c: In function ‘main’: foo.c:6:9: error: ‘cin’ undeclared (first use in this function) 6 | cin>>year>>month; | ^~~ foo.c:6:9: note: each undeclared identifier is reported only once for each function it appears in foo.c:28:9: error: ‘cout’ undeclared (first use in this function) 28 | cout<<day<<endl; | ^~~~ foo.c:28:20: error: ‘endl’ undeclared (first use in this function) 28 | cout<<day<<endl; | ^~~~
信息
- 递交者
- 类型
- 自测
- 题目
- A1-3 分支结构练习:月份天数
- 语言
- C
- 递交时间
- 2024-08-19 15:15:50
- 评测时间
- 2024-08-19 15:15:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes