code: third commit in lab 4
Этот коммит содержится в:
3
.gitignore
поставляемый
3
.gitignore
поставляемый
@@ -2,4 +2,5 @@
|
|||||||
/x64
|
/x64
|
||||||
/labor01.vcxproj
|
/labor01.vcxproj
|
||||||
/labor01.vcxproj.filters
|
/labor01.vcxproj.filters
|
||||||
/labor01.vcxproj.user
|
/labor01.vcxproj.user
|
||||||
|
/curl/
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
struct Input {
|
struct Input {
|
||||||
@@ -42,6 +43,7 @@ input_data(istream& inn, bool promt) {
|
|||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
bool promt = true;
|
bool promt = true;
|
||||||
auto in = input_data(cin, promt);
|
auto in = input_data(cin, promt);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user