What does the vertical pipe ( | ) mean in C++?
<p>I came across this snippet of code in one of my programming books:</p>

<pre><code>WNDCLASSEX wndClass = { 0 };

wndClass.cbSize = sizeof(WNDCLASSEX);
wndClass.style =  CS_HREDRAW | CS_VREDRAW;
</code></pre>

<p>There wasn't any explanation given to what the vertical pipe does. My experience (C#, VBScript, JavaScript) has involved double pipes ( || ) as an 'or' operator. ie: <code>bool isTrue = firstBoolVar || nextBoolVar;</code> but I haven't seen a single pipe used for anything like this.</p>

<p>What does the single pipe do in this context (C++ windows programming?)</p>
