using namespace std;
int main(int argc, char* argv[])
{
    vector<string> parameters(argv, argv+argc);
    ...
}