|
|
@ -5,6 +5,7 @@
|
|
|
|
#include <fstream>
|
|
|
|
#include <fstream>
|
|
|
|
#include "histogram.h"
|
|
|
|
#include "histogram.h"
|
|
|
|
#include "text.h"
|
|
|
|
#include "text.h"
|
|
|
|
|
|
|
|
#include "svg.h"
|
|
|
|
using namespace std;
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
|
const size_t SCREEN_WIDTH = 80;
|
|
|
|
const size_t SCREEN_WIDTH = 80;
|
|
|
@ -43,7 +44,7 @@ int main()
|
|
|
|
|
|
|
|
|
|
|
|
auto bins = make_histogramm(in.numbers, in.bin_count);
|
|
|
|
auto bins = make_histogramm(in.numbers, in.bin_count);
|
|
|
|
|
|
|
|
|
|
|
|
show_histogramm(bins);
|
|
|
|
show_histogram_svg(bins);
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|