Problem greeting
User Xinlan
Submission Time 2023-11-08 11:02:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:6:2: error: ‘String’ was not declared in this scope
6 | String a;
| ^~~~~~
greeting.cpp:7:2: error: ‘a’ was not declared in this scope
7 | a = "Xiao Ming ni hao, xin nian kuai le!";
| ^
greeting.cpp:8:10: error: ‘c’ was not declared in this scope
8 | getline(c>>a);
| ^