diff --git a/cs-project3.cpp b/cs-project3.cpp index a69a61f..3698e01 100644 --- a/cs-project3.cpp +++ b/cs-project3.cpp @@ -32,7 +32,13 @@ input_data(istream& inn, bool promt) { } -int main() { +int main(int argc, char* argv[]) { + if (argc > 1) { + for (int i = 0; i < argc; i++) { + cout << "argv ["<< i <<"] = " << argv[0] << endl; + } + return 0; + } curl_global_init(CURL_GLOBAL_ALL); bool promt = true; Input in = input_data(cin, promt);