If the amount of data is unknown, the following loop is useful in c++:
while (cin >> x) {
// code
}
while (cin >> x) {
// code
}
|
»
Timur_Keks
|
9 лет назад,
скрыть
#
|
←
Rev. 2
→
+4
→
Ответить
|