// Preprocessor directives #ifndef STRING_CONSTANTS_H #define STRING_CONSTANTS_H // global constants //constant for end of c-string null character #define CARRIAGE_RETURN_CHAR '\r' // constant for end of c-string null character #define NEWLINE_CHAR '\n' // constant for small string length #define MIN_STR_LEN 32 // constant for maximum string length #define MAX_STR_LEN 128 // constant for end of c-string null character #define NULL_CHAR '\0' // constant for space character #define SPACE ' ' // constant for standard string length #define STD_STR_LEN 64 // constant for comparison #define STR_EQ 0 // substring not found constant -- not given so not sure #define SUBSTRING_NOT_FOUND -1 // non printable char -- not given as well #define NON_PRINTABLE_CHAR (char)127 // colon #define COLON ':' // semicolon #define SEMICOLON ';' // period #define PERIOD '.' // comma #define COMMA ',' // newline #define NEWLINE '\n' // NO_ERR #define NO_ERR 0 #endif // STRING_CONSTANTS_H