Compile Error

foo.c: In function 'main':
foo.c:5:4: error: 'cout' undeclared (first use in this function)
    5 |    cout<<"A"<<endl<<"AAA"<<endl<<"AAAAA"<<endl<<"AAAAAAA"<<endl;
      |    ^~~~
foo.c:5:4: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:15: error: 'endl' undeclared (first use in this function)
    5 |    cout<<"A"<<endl<<"AAA"<<endl<<"AAAAA"<<endl<<"AAAAAAA"<<endl;
      |               ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 打印字符
语言
C
递交时间
2022-07-19 22:38:51
评测时间
2022-07-19 22:38:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes