dобавлена библиотека curl и решены проблемы при запуске программы

master
IvanovArtAl 4 дней назад
Родитель 38a2217f74
Сommit f9b120479f

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

@ -1,3 +1,4 @@
curl/
bin/
obj/
*.cbp

@ -32,7 +32,14 @@
<Add option="-Wall" />
<Add option="-fexceptions" />
</Compiler>
<Unit filename="histogram.cpp" />
<Unit filename="histogram.h" />
<Unit filename="histogram_internal.h" />
<Unit filename="main.cpp" />
<Unit filename="svg.cpp" />
<Unit filename="svg.h" />
<Unit filename="text.cpp" />
<Unit filename="text.h" />
<Extensions>
<lib_finder disable_auto="1" />
</Extensions>

@ -1,8 +1,9 @@
#include <curl/curl.h>
#include <iostream>
#include <vector>
#include "histogram.h"
#include "text.h"
#include "svg.h"
using namespace std;
struct Input {
@ -28,8 +29,10 @@ Input input_data() {
}
int main() {
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data();
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_text(bins, in.bin_count);
show_histogram_svg(bins);
return 0;
}

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