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

...

2 Коммитов

Автор SHA1 Сообщение Дата
FilippovDY 959049f3f0 build: подключение библиотеки
1 год назад
FilippovDY 1c0b3bbfd5 build: изменение gitignore
1 год назад

@ -31,8 +31,12 @@
<Compiler> <Compiler>
<Add option="-Wall" /> <Add option="-Wall" />
<Add option="-fexceptions" /> <Add option="-fexceptions" />
<Add directory="curl-8.7.1_9-win64-mingw/include" />
</Compiler> </Compiler>
<Unit filename=".gitignore" /> <Linker>
<Add library="libcurl.dll.a" />
<Add directory="curl-8.7.1_9-win64-mingw/lib" />
</Linker>
<Unit filename="doctest.h" /> <Unit filename="doctest.h" />
<Unit filename="histogram.cpp" /> <Unit filename="histogram.cpp" />
<Unit filename="histogram.h" /> <Unit filename="histogram.h" />

@ -3,6 +3,7 @@
#include "histogram.h" #include "histogram.h"
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
#include <curl/curl.h>
using namespace std; using namespace std;
@ -40,6 +41,7 @@ input_data(istream& stream, bool prompt) {
int main() int main()
{ {
curl_global_init(CURL_GLOBAL_ALL);
bool prompt = true; bool prompt = true;
auto in = input_data(cin, prompt); auto in = input_data(cin, prompt);
auto bins = make_histogram(in.numbers, in.bin_count, in.number_count, in.max_count); auto bins = make_histogram(in.numbers, in.bin_count, in.number_count, in.max_count);

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