diff --git a/lab01.cbp b/lab01.cbp index a390f01..88dfea5 100644 --- a/lab01.cbp +++ b/lab01.cbp @@ -32,18 +32,18 @@ - - - + + + - diff --git a/lab01.depend b/lab01.depend index 381bce7..9be2205 100644 --- a/lab01.depend +++ b/lab01.depend @@ -1,9 +1,10 @@ # depslib dependency file v1.0 -1745609797 source:c:\users\платон\desktop\project\lab01\main.cpp +1746094194 source:c:\users\платон\desktop\project\lab01\main.cpp "histogram.h" "text.h" + "svg.h" 1745611606 source:c:\users\платон\desktop\project\lab01\historgam.cpp @@ -78,3 +79,14 @@ "histogram.h" +1746094194 c:\users\платон\desktop\project\lab01\svg.h + + +1746094194 source:c:\users\платон\desktop\project\lab01\svg.cpp + + + + + + "svg.h" + diff --git a/lab01.layout b/lab01.layout index 0244e65..06c2d6a 100644 --- a/lab01.layout +++ b/lab01.layout @@ -2,12 +2,22 @@ - + - + - + + + + + + + + + + + diff --git a/main.cpp b/main.cpp index 507cd57..57e57b6 100644 --- a/main.cpp +++ b/main.cpp @@ -2,6 +2,7 @@ #include #include "histogram.h" #include "text.h" +#include "svg.h" using namespace std; @@ -22,7 +23,6 @@ input_data() { cerr << "Enter Num[" << i << "]: "; cin >> in.numbers[i]; } - cerr << "Enter bin count: "; cin >> bin_count; cerr << "Enter bin count: "; cin >> in.bin_count; return in; @@ -31,7 +31,7 @@ int main() { auto in = input_data(); auto bins = make_histogram(in.numbers, in.bin_count); - show_histogram_text(bins, in.bin_count); + show_histogram_svg(bins); return 0; } diff --git a/unittest.cbp b/unittest.cbp index 7f9621b..5a9c8c0 100644 --- a/unittest.cbp +++ b/unittest.cbp @@ -31,6 +31,10 @@ + + + + diff --git a/unittest.layout b/unittest.layout new file mode 100644 index 0000000..8ec3341 --- /dev/null +++ b/unittest.layout @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +