$\require{cancel}$
char
bool
false maps to 0
true maps to not 0.
cout << boolalpha; will print true or false.
&& or and
|| or or
! or not
&, |, ~
int was used in the place of a bool.
char
char) are at least 1 byte. (8 bits).
char16_t and char32_t for internationalization.
cin.get(char_type)
char_type = cin.get()
static_cast
type conversion operators.
int_type = static_cast<int>(character_type)
char_type = static_cast<int>(int_type)
int isdigit( int ch ); checks to see if a character is a digit or not.
bool is digit(char ch);, but it is not.
static_cast<bool>(isdigit(static_cast<int>(character)))
isdigit(character) and let the compile coerce it fr us.
tolower.
int toupper(int ch)
var = (type) expresion
intType = (int) charType
var = type (expression)
intType = int (charType)
CXXFLAGS = -Wold-style-cast -Wconversion