#include<string>#include<iostream>using namespace std; int main(){string name;cin >> name;string message("hello world");cout << name << message;return 0;}
Standard input is empty
hello world
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!