Is it okay to use “and”, “or” etc. instead of “&&”, “||”?
问题 I'm used to the and and or keywords in C++. I've always used them and typing them is fast and comfortable for me. Once I've heard that these aliases are non-standard and may not work on all compilers. But I'm not sure of it, I don't really know if it's true. Let's assume that I give someone my code, will he have problems compiling it? Is it all right when I use and , or instead of && , || ? Or are these keywords really non-standard? P.S.I use the MinGW compiler. 回答1: They are in fact standard