#include #include using namespace std; int main( void ) { char buf[64]; gethostname( buf, 63 ); cout << buf << endl; }