'and', 'or' and 'xor' are all valid C++. I was suprised when I found out about it too! (it's in the back of The C++ Programming Language by Bjarne Stroustroup). They were added to the language to get around the fact that in some regions of the world, the characters '&', '|' and '^' are not available on the keyboard layout.Originally Posted by incubator
It's probably nice for ex-Pascal programmers too!
Bookmarks