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

..

2 Коммитов

Автор SHA1 Сообщение Дата
Ваше Имя 69e4ab03c3 code: добавлен вывод аргументов
2 лет назад
Ваше Имя eafc393d4c code: подключенна библиотека curl
2 лет назад

1
.gitignore поставляемый

@ -12,3 +12,4 @@
/cs-lab34 /cs-lab34
/start /start
/main.o /main.o
/curl

@ -31,7 +31,12 @@
<Compiler> <Compiler>
<Add option="-Wall" /> <Add option="-Wall" />
<Add option="-fexceptions" /> <Add option="-fexceptions" />
<Add directory="/home/sage/Documents/lab/cs-lab03/curl/include/" />
</Compiler> </Compiler>
<Linker>
<Add library="libcurl.dll.a" />
<Add directory="/home/sage/Documents/lab/cs-lab03/curl/lib/libcurl.dll.a/" />
</Linker>
<Unit filename=".gitignore" /> <Unit filename=".gitignore" />
<Unit filename="histogram.cpp" /> <Unit filename="histogram.cpp" />
<Unit filename="histogram.h" /> <Unit filename="histogram.h" />

@ -52,8 +52,17 @@ input_data(istream& in, bool prompt) {
} }
int main() { int main(int argc, char* argv[]) {
//curl_global_init(CURL_GLOBAL_ALL);
if (argc > 1) {
for (int i = 0; i < argc; ++i) {
cerr << "argv[" << i << "] = " << argv[i] << endl;
}
}
return 0;
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, true); //input data auto in = input_data(cin, true); //input data
auto bins = make_histogram(in.numbers, in.bin_count); //calculating bin size for the histogram auto bins = make_histogram(in.numbers, in.bin_count); //calculating bin size for the histogram
show_histogram_svg(bins, in.interval_task); //histogram output in the format svg code show_histogram_svg(bins, in.interval_task); //histogram output in the format svg code

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