fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(){
  5. char name1[50], name2[50]; //宣告name1和name2是字元陣列
  6. cin >> HELLO >> HELLO; //輸入
  7. cout << "################################" << endl;
  8. cout << "Dear "<< JEEE << endl;
  9. cout << " TWICE is the best!" << endl;
  10. cout << " Fighting!" << endl;
  11. cout << " Sincerely, " << name2 << endl;
  12. cout << "################################" << endl;
  13. return 0;
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:6:10: error: ‘HELLO’ was not declared in this scope
   cin >> HELLO >> HELLO; //輸入
          ^~~~~
prog.cpp:8:21: error: ‘JEEE’ was not declared in this scope
   cout << "Dear "<< JEEE << endl;
                     ^~~~
stdout
Standard output is empty