Professional Documents
Culture Documents
Command Line Argument
Command Line Argument
This
is typically accomplished by specifying arguments on the operating system comma
nd line (console). There are two parameters passed to main(). The first paramete
r is the number of items on the command line (int argc).