Command-line arguments
are a common way to parameterize execution of programs.
For example, |
|
|
|
|
|
|
|
|
|
You can get individual args with normal indexing. |
|
|
To experiment with command-line arguments it’s best to
build a binary with |
|
Next we’ll look at more advanced command-line processing with flags. |
Next example: Command-Line Flags.