- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
/*!
* \brief is Printable Character
* \param c Character
* \return true/false
*/
static int isPrintableChar(char c)
{
if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z')
&& (c < '0' || c > '9') && (c != ' ') && (c != '\'')
&& (c != '(') && (c != ')') && (c != '+') && (c != ',')
&& (c != '-') && (c != '.') && (c != '/') && (c != ':')
&& (c != '=') && (c != '?') && (c != '_') && (c != '\\')
&& (c != '@') && (c != '"') && (c != '%') && (c != '$')
&& (c != '&') && (c != '#') && (c != ';')
//&& (c != 'В_')
&& (c != '<') && (c != '>') && (c != ']') && (c != '{')
&& (c != '}') && (c != '*') && (c != '^')) {
return 0;
} else {
return 1;
}
}