/// used for answering http://stackoverflow.com/q/28110509/2932052
#include <iostream>
#include <vector>

using namespace std;

int main(int argc, char* argv[])
{
    std::cout << "main called with " << argc << " argument(s):" << endl;
    vector<string> arguments(argv, argv+argc);
    for (auto s: arguments) {
        cout << s << endl;
    }
    return 0;
}
