VK>Well the subject says it all.
VK>Unless the end of it got truncated in which case it said:
VK>"How do you read command line parameters?"
Command line parameters can be read by using the following line:
"int main(int argc, char *argv[])"
*argv is an array of pointers. They point to null terminated strings
that represent the decomposed command line. The strings point to just
past the last white-space on the command line that is the text of the
argument.
Someone posted a short prog to demonstrate its use.
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)
|