Problem greeting
User Xinlan
Submission Time 2023-11-08 11:03:02
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 = "Xiao Ming ni hao, xin nian kuai le!";
| ^~~~~~
greeting.cpp:7:10: error: ‘c’ was not declared in this scope
7 | getline(c>>a);
| ^
greeting.cpp:7:13: error: ‘a’ was not declared in this scope
7 | getline(c>>a);
| ^