title: How to check if the address the pointer points to is 0x0?
body: <p>I have a pointer where I "manually" set the address it points to:</p>
  
  <pre><code>pPlayerPool = reinterpret_cast&lt;DWORD*&gt;(someAddress+PLAYER_POOL_POINTER_OFFSET);
  </code></pre>
  
  <p>When the game didn't start yet, <code>pPlayerPool</code> points to 0x0, that's what it says in my memory searching tool. I tried to check it with</p>
  
  <pre><code>if(*pPlayerPool)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if(*pPlayerPool != 0)
  </code></pre>
  
  <p>or </p>
  
  <pre><code>if(*pPlayerPool != NULL)
  </code></pre>
  
  <p>My program always crashed, when it was 0x0. </p>
  
  <p>And then I have another small question: As I know <code>*</code> gives me the value of the pointer and <code>&amp;</code> the address of the pointer itself. But what does that value mean that I get without any of these characters?</p>