diff --git a/main.cpp b/main.cpp index 387439a..e9ce501 100644 --- a/main.cpp +++ b/main.cpp @@ -35,8 +35,7 @@ int main() max_count=x; } } - vector procent = make_histogram_proc(in.numbers, in.bin_count, bins); show_histogram_text(bins,in.bin_count,in.numbers,max_count); - //show_histogram_svg(bins, max_count,procent); + //show_histogram_svg(bins, max_count); return 0; } diff --git a/svg.cpp b/svg.cpp index 2cd80f1..1c415f3 100644 --- a/svg.cpp +++ b/svg.cpp @@ -20,8 +20,8 @@ svg_text(double left, double baseline, std::string text) { } void -svg_proc(double left, double baseline,size_t procent) { - std::cout << ""<< procent <<"%"; +svg_proc(double left, double baseline) { + std::cout << "