Ok, I know I can do loop like this:
for (int i=1; i<=argc-1;i++) {
cout << argv[i] << endl;
}
But this way double quotes are lost, that is a string "something here" is treated as one element of the args array and quotes are lost.
Ok, I know I can assume quotes if parameter has space inside, but quotes are always lost no matter if there is space or not.
When you need the original command line, your can use the GetCommandLine() API function.