|
|
|
@ -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: ";
|
|
|
|
|