title: Reading value at an address
body: <p>I'm trying to make a program that reads the value at a certain address.
  I have this:</p>
  
  <pre><code>int _tmain(int argc, _TCHAR* argv[])
  {
      int *address;
      address =   (int*)0x00000021;
      cout &lt;&lt; *address;
      return 0;
  }
  </code></pre>
  
  <p>But this gives a read violation error. What am I doing wrong?
  Thanks</p>