|
-
May 3rd, 2004, 06:04 AM
#1
understanding commandline
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|