title: Access violation reading location 0xcccccccc
body: <p>I am trying to run the squares.cpp example in the openCV 2.2. The code compiles and builds without errors in Visual Studio 2008. However when I run the executable (i.e., during run time) I am getting a error stating  </p>
  
  <p><code>Unhandled exception at 0x004ac363 in OpenCVRectangle.exe: 0xC0000005: Access violation reading location 0xcccccccc.</code></p>
  
  <p>This occurs at the definition:<br>
      <code>vector&lt;vector&lt;Point&gt; &gt; squares;</code> 
  in the main function</p>
  
  <p>Can somebody help, why this occurs? 
  I figured out that the value 0xcccccc usually is an uninitialized or bad variable, but do not understand why I get this exception at this line.</p>
  
  <p>The full example code can be found at <a href="http://pastebin.com/MTaXVcQz" rel="nofollow">http://pastebin.com/MTaXVcQz</a></p>