title: Pointer Address gives a 1 instead of hexadecimal adress
body: <p>I'm trying to make it so I have one object, that has a pointer, so multiple classes can work with the same object. But the only thing it's giving me is 1 instead of the hexadecimal address that I need.
  My code:</p>
  
  <p>code to create it:</p>
  
  <pre><code>SDL_Event event;
  EventHandler eh(&amp;event);
  </code></pre>
  
  <p>code using it:</p>
  
  <pre><code>EventHandler::EventHandler(SDL_Event* eventpointer)
  {
      EventHandler::event = eventpointer;
      //This code is to test the pointer:
      std::cout &lt;&lt; &amp;EventHandler::event &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>1
  Process returned 0 (0x0)    execution time : 0.092 s
  </code></pre>