master
MovsisianRG 11 месяцев назад
Родитель 1aceeea07c
Сommit 3488801792

@ -5,6 +5,8 @@
#include "text.h"
#include <curl/curl.h>
using namespace std;
//const size_t SCREEN_WIDTH = 80;
@ -58,8 +60,28 @@ input_data(istream& in, bool promt)
return input;
}
int main()
int
main(int argc, char* argv[])
{
if( argc > 1 ){
CURL* curl = curl_easy_init();
cout << argc << '\n';
//while (true)
for (int i = 0; i < argc; i++){
cout << argv[i] << " ";
}
cout << endl;
curl_easy_cleanup(curl);
return 0;
}
curl_global_init(CURL_GLOBAL_ALL);
auto input = input_data(cin, true);

Загрузка…
Отмена
Сохранить