diff --git a/project/main.cpp b/project/main.cpp index a821d54..8595a39 100644 --- a/project/main.cpp +++ b/project/main.cpp @@ -17,7 +17,7 @@ input_data(istream& tin, bool prompt) { size_t number_count; if (prompt) - cerr << "Enter number count: "; + cerr << "Enter number count: "; tin >> number_count; Input in; in.numbers.resize(number_count); @@ -26,17 +26,28 @@ input_data(istream& tin, bool prompt) tin >> in.numbers[i]; } if (prompt) - cerr << "Enter bin count: "; + cerr << "Enter bin count: "; tin >> in.bin_count; return in; } int main(int argc, char* argv[]) { - if(argc>1) + if(argc > 1) { - for(size_t i = 0;i < argc;i++) + CURL *curl = curl_easy_init(); + if(curl) { - cerr<< "argv["< + + + + +