|
|
|
@ -18,7 +18,7 @@ Input
|
|
|
|
|
input_data(istream& Newcin) {
|
|
|
|
|
size_t number_count;
|
|
|
|
|
cerr << "Enter number count: ";
|
|
|
|
|
cin >> number_count;
|
|
|
|
|
Newcin >> number_count;
|
|
|
|
|
Input in;
|
|
|
|
|
in.numbers.resize(number_count);
|
|
|
|
|
cerr << "Enter numbers: ";
|
|
|
|
@ -26,11 +26,11 @@ input_data(istream& Newcin) {
|
|
|
|
|
cin >> in.numbers[i];
|
|
|
|
|
}
|
|
|
|
|
cerr << "Enter bin count: ";
|
|
|
|
|
cin >> in.bin_count;
|
|
|
|
|
Newcin >> in.bin_count;
|
|
|
|
|
cerr << "Enter stroke in format RGB: ";
|
|
|
|
|
cin >> in.stroke;
|
|
|
|
|
Newcin >> in.stroke;
|
|
|
|
|
cerr << "Enter fill in format RGB: ";
|
|
|
|
|
cin >> in.fill;
|
|
|
|
|
Newcin >> in.fill;
|
|
|
|
|
return in;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|