foo.c:1:1: error: expected identifier or '(' before numeric constant
1 | 1 #include <iostream>
| ^
foo.c:1:3: error: stray '#' in program
1 | 1 #include <iostream>
| ^
foo.c:2:3: error: stray '#' in program
2 | 2 #include <iomanip>
| ^
foo.c:4:1: error: expected identifier or '(' before numeric constant
4 | 4 int main()
| ^
foo.c:6:1: error: invalid suffix "cout" on integer constant
6 | 6cout<<"A
| ^~~~~
foo.c:6:8: warning: missing terminating " character
6 | 6cout<<"A
| ^
foo.c:6:8: error: missing terminating " character
6 | 6cout<<"A
| ^~
foo.c:9:8: warning: missing terminating " character
9 | AAAAAAA"
| ^
foo.c:9:8: error: missing terminating " character
foo.c:10:1: error: invalid suffix "return" on integer constant
10 | 7return 0:
| ^~~~~~~
foo.c:10:9: error: invalid suffix ":" on integer constant
10 | 7return 0:
| ^~~
[Hydro](https://hydro.ac)提供评测服务