cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
operator unidentified
operator unidentified
Aug 10, 2012 at 4:31am UTC
Abhilash
(13)
What is |= operator in the following definition
#define xConfirmPara(a,b) check_failed |= confirmPara(a,b)
Aug 10, 2012 at 4:54am UTC
Disch
(13742)
It's the "bitwise or" assignment operator.
a |= b;
is the same as
a = a | b;
bitwise OR is explained here:
http://v2.cplusplus.com/forum/beginner/72705/#msg387899
Last edited on
Aug 10, 2012 at 4:54am UTC
Topic archived. No new replies allowed.