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