title: error C2440: 'initializing' : cannot convert from 'classname *' to 'classname'
body: <p>I have a class defined called extBlock.</p>
  
  <p>I then make an instance of that class with this </p>
  
  <pre><code>extBlock mainBlock = new extBlock(1, 1024);
  </code></pre>
  
  <p>I get this error:
   error C2440: 'initializing' : cannot convert from 'extBlock *' to 'extBlock'</p>
  
  <p>Can anyone help me with why I am getting this error.</p>
  
  <p>I have seen examples online of declaring it like this with a pointer</p>
  
  <pre><code>extBlock *mainBlock = new extBlock(1, 1024);
  </code></pre>
  
  <p>But if I do it this way it does not let me call the functions of mainBlock</p>