VeretennikovMA 11 месяцев назад
Родитель 11e238665d
Сommit a6aa3d3ca0

@ -15,10 +15,17 @@ struct Input {
};
Input
input_data(istream& Newcin) {
input_data(istream& Newcin){
size_t number_count;
cerr << "Enter number count: ";
Newcin >> number_count;
bool prompt;
cerr << "Do you want any prompts? Enter 'true' if yes, 'false' if no: ";
Newcin >> prompt;
if (prompt){
cerr << "Prompt";
}
Input in;
in.numbers.resize(number_count);
cerr << "Enter numbers: ";

Загрузка…
Отмена
Сохранить