C Workshop
PrintStats.h
Go to the documentation of this file.
1 #pragma once
2 #include <stdbool.h>
3 
5 
6 
18 void PrintStats(int argc, char *argv[]);
19 
27 bool IsSwitch(const char *arg);
28 
38 bool StringInRange(const char *arg, char start, char end);
39 
47 bool IsUpperCase(const char *arg);
48 
56 bool IsLowerCase(const char *arg);
bool IsLowerCase(const char *arg)
Check if the current parameter is a lowercase parameter.
Definition: PrintStats.c:64
bool StringInRange(const char *arg, char start, char end)
Checks if a string is contained in a specifed range.
Definition: PrintStats.c:45
bool IsUpperCase(const char *arg)
Check if the current parameter is an uppercase parameter.
Definition: PrintStats.c:59
bool IsSwitch(const char *arg)
Check if the current parameter is a switch.
Definition: PrintStats.c:40
void PrintStats(int argc, char *argv[])
Prints statistics about command line arguments:
Definition: PrintStats.c:5