MaryK 2 лет назад
Родитель a1b945b513
Сommit f6d71c673f

@ -6,7 +6,7 @@
"histogram.h"
"svg.h"
1681732312 c:\program files\codeblocks\devlab1\histogram.h
1681733106 c:\program files\codeblocks\devlab1\histogram.h
<vector>
1681730387 source:c:\program files\codeblocks\devlab1\histogram.cpp
@ -20,10 +20,10 @@
1680530410 source:c:\program files\codeblocks\devlab1\text.cpp
"text.h"
1681731817 c:\program files\codeblocks\devlab1\svg.h
1681733452 c:\program files\codeblocks\devlab1\svg.h
<vector>
1681732105 source:c:\program files\codeblocks\devlab1\svg.cpp
1681733443 source:c:\program files\codeblocks\devlab1\svg.cpp
"svg.h"
<iostream>
<vector>

@ -51,7 +51,7 @@ int main()
{
auto in = input_data();
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins,in.BLOCK_WIDTH);
show_histogram_svg(&bins,in.BLOCK_WIDTH);
return 0;

Двоичные данные
obj/Debug/main.o

Двоичный файл не отображается.

Двоичные данные
obj/Debug/svg.o

Двоичный файл не отображается.

@ -33,7 +33,7 @@ void svg_rect(double x, double y, double width, double height, string stroke = "
}
void
show_histogram_svg(const vector<double>& bins, int BLOCK_WIDTH)
show_histogram_svg( vector<double>& bins, int BLOCK_WIDTH)
{
const auto IMAGE_WIDTH = 400;

@ -2,4 +2,4 @@
#include <vector>
void
show_histogram_svg(const std::vector<long long unsigned int>& bins, int BLOCK_WIDTH);
show_histogram_svg(std::vector<long long unsigned int>& bins, int BLOCK_WIDTH);

Загрузка…
Отмена
Сохранить