|
|
|
@ -4,6 +4,8 @@
|
|
|
|
|
#include "histogram.h"
|
|
|
|
|
#include "text.h"
|
|
|
|
|
#include "svg.h"
|
|
|
|
|
#include <curl/curl.h>
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -47,10 +49,22 @@ inp >> in.bin_count;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
if (argc>1){
|
|
|
|
|
cerr << "argc=" << argc<< endl;
|
|
|
|
|
for (size_t i = 0; i < argc; i++) {
|
|
|
|
|
cerr << "argv [" << i << "]: " << argv[i] << endl;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
curl_global_init(CURL_GLOBAL_ALL);
|
|
|
|
|
|
|
|
|
|
unsigned int n;
|
|
|
|
|
bool prompt=false;
|
|
|
|
|
bool prompt=true;
|
|
|
|
|
auto in = input_data(cin, prompt);
|
|
|
|
|
double min,max;
|
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
|