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[]) {
|
||||
if (argc > 1) {
|
||||
for (int x = 0; x > argc; x++) {
|
||||
cout << "argv[" << x << "] = " << argv[x];
|
||||
}
|
||||
return 0;
|
||||
CURL* curl = curl_easy_init();
|
||||
auto res = curl_easy_perform(curl);
|
||||
if (res != 0) {
|
||||
cout << curl_easy_strerror(res);
|
||||
exit(1);
|
||||
}
|
||||
curl_easy_cleanup(curl);
|
||||
return 0;
|
||||
}
|
||||
Input in = input_data(cin, false);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||
|
||||
Ссылка в новой задаче
Block a user