CPP Como inserir uma variável sem acertar Enter

int x = _getch();
cout << x;
Super Skipper