Command Prompt for Windows




argc

int argc(void);

Determines the number of command line arguments.

Returns

The number of command line arguments.

Comments

Command line strings (eg. "This is a string") are considered as command line arguments. Command line switches are not considered as part of the command line arguments.

See Also

argv, argn, args