code; установлены динамические библиотеки
Этот коммит содержится в:
4
.gitignore
поставляемый
4
.gitignore
поставляемый
@@ -1,3 +1,5 @@
|
|||||||
/bin
|
/bin
|
||||||
/obj
|
/obj
|
||||||
/lab1.layout
|
/lab1.layout
|
||||||
|
/curl
|
||||||
|
/lab1.depend
|
||||||
@@ -13,10 +13,12 @@
|
|||||||
<iostream>
|
<iostream>
|
||||||
<vector>
|
<vector>
|
||||||
|
|
||||||
1747403061 source:c:\users\professional\desktop\cs-lab34\lab1\main.cpp
|
1747642974 source:c:\users\professional\desktop\cs-lab34\lab1\main.cpp
|
||||||
"histogram.h"
|
"histogram.h"
|
||||||
"text.h"
|
"text.h"
|
||||||
"svg.h"
|
"svg.h"
|
||||||
|
<iostream>
|
||||||
|
<vector>
|
||||||
|
|
||||||
1747403716 c:\users\professional\desktop\cs-lab34\lab1\svg.h
|
1747403716 c:\users\professional\desktop\cs-lab34\lab1\svg.h
|
||||||
<iostream>
|
<iostream>
|
||||||
|
|||||||
5
main.cpp
5
main.cpp
@@ -1,3 +1,6 @@
|
|||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
|
||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
@@ -37,7 +40,7 @@ Input input_data(istream &in, bool prompt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
auto in_with_prompt = input_data(cin, true);
|
auto in_with_prompt = input_data(cin, true);
|
||||||
auto bins_with_prompt = make_histogram(in_with_prompt.korz, in_with_prompt.vec);
|
auto bins_with_prompt = make_histogram(in_with_prompt.korz, in_with_prompt.vec);
|
||||||
show_histogram_svg(bins_with_prompt);
|
show_histogram_svg(bins_with_prompt);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user