code: 4-d commit in lab 4
Этот коммит содержится в:
@@ -42,10 +42,17 @@ input_data(istream& inn, bool promt) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main(int argc, char* argv[]) {
|
||||||
|
if (argc > 1) {
|
||||||
|
cout << argc << "\n";
|
||||||
|
for (int i = 0; i < argc; i++) {
|
||||||
|
cout << "argv[" << i << "] = " << argv[i] << "\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
curl_global_init(CURL_GLOBAL_ALL);
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
bool promt = true;
|
bool promt = true;
|
||||||
auto in = input_data(cin, promt);
|
auto in = input_data(cin, promt);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
show_histogram_svg(bins, in.colors);
|
show_histogram_svg(bins, in.colors);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
Ссылка в новой задаче
Block a user