fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char n [21];
  6.  
  7. cout << "Digite seu nome:" << endl;
  8. cin >> n;
  9. cout << "Olá " << n;
  10.  
  11. return 0;
  12.  
  13. }
Success #stdin #stdout 0s 4276KB
stdin
Rodrigo 
stdout
Digite seu nome:
Olá Rodrigo