code:добавлены новые аргументы в main
Этот коммит содержится в:
@@ -57,8 +57,14 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int main()
|
int main(int argc, char* argv[])
|
||||||
{ curl_global_init(CURL_GLOBAL_ALL);
|
{ if (argc > 1) {
|
||||||
|
cout<<argc;
|
||||||
|
for(int i=0;i<argc;i++)
|
||||||
|
cout << "argv["<<i<<"]="<<argv[i];
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
bool promt = true;
|
bool promt = true;
|
||||||
auto in = input_data(cin,promt);
|
auto in = input_data(cin,promt);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user