0_0_39771444_21029.cpp:1:2: error: universal character \u003C is not valid in an identifier
1 | #include\u003Cstdio.h>
| ^
0_0_39771444_21029.cpp:1:2: error: invalid preprocessing directive #include<stdio
1 | #include\u003Cstdio.h>
| ^~~~~~~~~~~~~~~~~~
0_0_39771444_21029.cpp:2:2: error: universal character \u003C is not valid in an identifier
2 | #include\u003Cstring.h>
| ^
0_0_39771444_21029.cpp:2:2: error: invalid preprocessing directive #include<string
2 | #include\u003Cstring.h>
| ^~~~~~~~~~~~~~~~~~~
0_0_39771444_21029.cpp:22:12: error: stray '\' in program
22 | scanf(\"%d\",&T);
| ^
0_0_39771444_21029.cpp:22:13: error: missing terminating " character
22 | scanf(\"%d\",&T);
| ^~~~~~~~~~
0_0_39771444_21029.cpp:36:21: error: stray '\' in program
36 | printf(\"%c\",temp[j]);
| ^
0_0_39771444_21029.cpp:36:22: error: missing terminating " character
36 | printf(\"%c\",temp[j]);
| ^~~~~~~~~~~~~~~
0_0_39771444_21029.cpp: In function 'int main()':
0_0_39771444_21029.cpp:23:6: error: 'getchar' was not declared in this scope
23 | getchar();//在gets之前先将换行符读取掉
| ^~~~~~~
0_0_39771444_21029.cpp:1:1: note: 'getchar' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #include\u003Cstdio.h>
0_0_39771444_21029.cpp:28:10: error: 'gets' was not declared in this scope
28 | gets(a);
| ^~~~
0_0_39771444_21029.cpp:29:29: error: 'strlen' was not declared in this scope
29 | for(int j = 0; j < strlen(a);j++)
| ^~~~~~
0_0_39771444_21029.cpp:1:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | #include\u003Cstdio.h>
0_0_39771444_21029.cpp:34:10: error: 'printf' was not declared in this scope
34 | printf("String #%d\n",i);
| ^~~~~~
0_0_39771444_21029.cpp:34:10: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39771444_21029.cpp:35:29: error: 'strlen' was not declared in this scope
35 | for(int j = 0 ;j < strlen(temp);j++)
| ^~~~~~
0_0_39771444_21029.cpp:35:29: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|