fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main(){
  6. char name1[50];
  7. cin>>name1;
  8. cout<<name1<<"愛主暉"<<;
  9. return 0;
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:29: error: expected primary-expression before ‘;’ token
   cout<<name1<<"愛主暉"<<;
                             ^
stdout
Standard output is empty