|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
#include "histogram.h"
|
|
|
|
|
#include "svg.h"
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <curl/curl.h>
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
@ -39,7 +40,13 @@ Input input_data(istream& sin, bool prompt)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
int main(int argc, char* argv[]) {
|
|
|
|
|
if (argc > 1) {
|
|
|
|
|
for (int x = 0; x > argc; x++) {
|
|
|
|
|
cout << "argv[" << x << "] = " << argv[x];
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
Input in = input_data(cin, false);
|
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
|
show_histogram_svg(bins);
|
|
|
|
|