cpp comment saisir une variable sans appuyer sur Entrée

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