Сравнить коммиты

..

2 Коммитов

Автор SHA1 Сообщение Дата
KorneevMA 5d4f217423 showing errors
7 месяцев назад
KorneevMA 9565d8769f test promt arguments
7 месяцев назад

@ -2,6 +2,7 @@
#include "histogram.h"
#include "svg.h"
#include <vector>
#include <curl/curl.h>
using namespace std;
@ -39,7 +40,17 @@ Input input_data(istream& sin, bool prompt)
}
}
int main() {
int main(int argc, char* argv[]) {
if (argc > 1) {
CURL* curl = curl_easy_init();
auto res = curl_easy_perform(curl);
if (res != 0) {
cout << curl_easy_strerror(res);
exit(1);
}
curl_easy_cleanup(curl);
return 0;
}
Input in = input_data(cin, false);
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins);

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