Save argv to vector or string
<p>i need to save all arguments to a vector or something like this. And how i am not a programmer, i don't know how can i do. Here's my code...
I just want to call a function system to pass all argvs after.</p>

<pre><code>#include "stdafx.h"
#include "iostream"
#include "vector"
#include &lt;string&gt;
using namespace std;

int main ( int argc, char *argv[] )
{
       for (int i=1; i&lt;argc; i++)
       {
           if(strcmp(argv[i], "/all /renew") == 0)
           {
                 system("\"\"c:\\program files\\internet explorer\\iexplore.exe\" \"www.stackoverflow.com\"\"");
           }
           else
              system("c:\\windows\\system32\\ipconfig.exe"+**All Argv**);
       }

       return 0;
}
</code></pre>
