|
|
|
@ -79,11 +79,7 @@ main(int argc, char* argv[])
|
|
|
|
|
} else {
|
|
|
|
|
input = input_data(cin, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
curl_global_init(CURL_GLOBAL_ALL);
|
|
|
|
|
bool prompt = false;
|
|
|
|
|
auto in = input_data(cin, prompt);
|
|
|
|
|
const auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
|
const auto bins = make_histogram(input.numbers, input.bin_count);
|
|
|
|
|
show_histogram_svg(bins);
|
|
|
|
|
//show_histogram_text(bins, in.numbers, in.bin_count);
|
|
|
|
|
//show_histogram_text(bins, input.numbers, input.bin_count);
|
|
|
|
|
}
|
|
|
|
|