C++ has "and"/"or"/"not" etc., so you can do
if(not A and B)
but I'm not sure I've ever seen anyone do it. http://en.cppreference.com/w/cpp/language/operator_alternati...To get them in C, see the note about iso646.h in the link.