|
C Workshop
|
Functions | |
| void | PrintStats (int argc, char *argv[]) |
| Prints statistics about command line arguments: More... | |
| bool | IsSwitch (const char *arg) |
| Check if the current parameter is a switch. More... | |
| bool | StringInRange (const char *arg, char start, char end) |
| Checks if a string is contained in a specifed range. More... | |
| bool | IsUpperCase (const char *arg) |
| Check if the current parameter is an uppercase parameter. More... | |
| bool | IsLowerCase (const char *arg) |
| Check if the current parameter is a lowercase parameter. More... | |
| bool IsLowerCase | ( | const char * | arg | ) |
Check if the current parameter is a lowercase parameter.
| arg | The current parameter. |
| bool IsSwitch | ( | const char * | arg | ) |
Check if the current parameter is a switch.
| arg | The current parameter. |
| bool IsUpperCase | ( | const char * | arg | ) |
Check if the current parameter is an uppercase parameter.
| arg | The current parameter. |
| void PrintStats | ( | int | argc, |
| char * | argv[] | ||
| ) |
Prints statistics about command line arguments:
| argc | Number of command line arguments. |
| argv | Command line arguments. |
| bool StringInRange | ( | const char * | arg, |
| char | start, | ||
| char | end | ||
| ) |
Checks if a string is contained in a specifed range.
| arg | The string to check. |
| start | Lower bound of the range. |
| end | Upper bound of the range. |