Hello.

I have programmed MFC for more than 5 years and now it is a little bit funny for me, to program for commandline and understanding ist. So dont be angry because of stupid questions.

If I have this command line:

MyProg -Channels 14 -port 8000 -service console

And the program ist named MyProg

What can I expect exactly as argc and char* argv[] at the entrypoint main:
int main(int argc, char* argv[])
{
}

And can sombody explain, why I can expect these things?

Thanks for help.

M.D.