установленна библиотека
Этот коммит содержится в:
@@ -6,7 +6,6 @@
|
|||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
void
|
|
||||||
svg_begin(double width, double height) {
|
svg_begin(double width, double height) {
|
||||||
cout << "<?xml version='1.0' encoding='UTF-8'?>\n";
|
cout << "<?xml version='1.0' encoding='UTF-8'?>\n";
|
||||||
cout << "<svg ";
|
cout << "<svg ";
|
||||||
@@ -12,8 +12,8 @@ svg_begin(double width, double height) {
|
|||||||
cout << "xmlns='http://www.w3.org/2000/svg'>\n";
|
cout << "xmlns='http://www.w3.org/2000/svg'>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
svg_end() {
|
void svg_end() {
|
||||||
cout << "</svg>\n";
|
cout << "</svg>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,3 +54,4 @@ void show_histogram_svg(const vector<size_t>& bins) {
|
|||||||
//svg_rect(50, 0, bins[0] * 10, 30);
|
//svg_rect(50, 0, bins[0] * 10, 30);
|
||||||
svg_end();
|
svg_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user