fork download
  1. /******************************************************************************
  2.  
  3.   Online C++ Debugger.
  4.   Code, Compile, Run and Debug C++ program online.
  5. Write your code in this editor and press "Debug" button to debug it.
  6.  
  7. *******************************************************************************/
  8.  
  9. #include <iostream>
  10. using namespace std;
  11. int main()
  12. {
  13. char a;
  14. cin >> a;
  15. cout << a;
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout