title: Access violation writing location 0xcccccccc
body: <p>For the past 2 days I've been stuck on a violation which I can't seem to get to go away.
  I've used break points and located where the error is, but I'm just hoping one of you will know what the issue is without me having to copy+paste all my code -.-</p>
  
  <p>I'm getting</p>
  
  <blockquote>
    <blockquote>
      <p>First-chance exception at 0x1027cb1a (msvcr100d.dll) in Escape.exe: 0xC0000005: Access violation writing location 0xcccccccc.
      Unhandled exception at 0x1027cb1a (msvcr100d.dll) in Escape.exe: 0xC0000005: Access violation writing location 0xcccccccc.</p>
    </blockquote>
  </blockquote>
  
  <p>Now, a quick google search makes me think there's something peculiar going on. All the search results talk about pointers not actually pointing anywhere (0xccccccccc is a low memory address?).</p>
  
  <p>I'm yet to use pointers in my code but either way I'll paste the function and point out the line the exception gets thrown (in bold):</p>
  
  <pre><code>void mMap::fillMap(){
      for(int i = 0; i &lt;= 9; i++){
          for(int z = 0; z &lt;= 19; z++){
              Tile t1;    // default Tile Type = "NULLTILE"
              myMap[i][z] = t1;
          }
      }
  }
  </code></pre>
  
  <p>Now myMap is a 2d array of type Tile. I had this working a couple of days ago until I added some other classes and it all stopped working!</p>