Сравнить коммиты
2 Коммитов
aa2c12b55d
...
959049f3f0
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
959049f3f0 | ||
|
|
1c0b3bbfd5 |
@@ -31,8 +31,12 @@
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
<Add directory="curl-8.7.1_9-win64-mingw/include" />
|
||||
</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="histogram.cpp" />
|
||||
<Unit filename="histogram.h" />
|
||||
|
||||
2
main.cpp
2
main.cpp
@@ -3,6 +3,7 @@
|
||||
#include "histogram.h"
|
||||
#include "text.h"
|
||||
#include "svg.h"
|
||||
#include <curl/curl.h>
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -40,6 +41,7 @@ input_data(istream& stream, bool prompt) {
|
||||
|
||||
int main()
|
||||
{
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
bool prompt = true;
|
||||
auto in = input_data(cin, prompt);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count, in.number_count, in.max_count);
|
||||
|
||||
Ссылка в новой задаче
Block a user