Skip to content

Glossary: C++ Basics

Command-line arguments

Also written: command-line argument

The words typed after a program's name when you run it, such as `menu.txt` in `./build/orders menu.txt`. A program reads them through `argc` and `argv`.

Where the book teaches it

Related terms

argc and argv