showing errors
Этот коммит содержится в:
12
main.cpp
12
main.cpp
@@ -42,10 +42,14 @@ Input input_data(istream& sin, bool prompt)
|
|||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
for (int x = 0; x > argc; x++) {
|
CURL* curl = curl_easy_init();
|
||||||
cout << "argv[" << x << "] = " << argv[x];
|
auto res = curl_easy_perform(curl);
|
||||||
}
|
if (res != 0) {
|
||||||
return 0;
|
cout << curl_easy_strerror(res);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
curl_easy_cleanup(curl);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
Input in = input_data(cin, false);
|
Input in = input_data(cin, false);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user