整数とは別に5桁を取得する方法を見つけようとしています。
cin >> option; // Option to enter a number(don't worry about this)
if (option == 1) // The option(don't worry)
{
cout << " enter 5 digit key 0 to 9 \n";
readin(key); // The input number that needs the digits to be separated
}
上記のコードは数字を入力するだけですが、どういうわけか数字を区切りたいのですが...でもどうやって?