diff --git a/main.cpp b/main.cpp index b1be722..f06ce8e 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,9 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include +#include +#include using namespace std; @@ -37,7 +40,15 @@ Input input_data(istream& in, bool promt = false) { return qin; } -int main() { +int main(int argc, char* argv[]) { + + if(argc > 1) { + cout << "argc = " << argc << endl; + for(int i = 0; i < argc; i++){ + cout << "argv[" << i << "] = " << argv[i] << endl; + } + return 0; + } curl_global_init(CURL_GLOBAL_ALL);