Command-line Arguments

Recall our usual main function:

int main(void)
{
}

To take command-line arguments we can replace void with int argc, string argv[], like so:

int main(int argc, string argv[])
{
}