title: C++ error two or more data types in declaration of function
body: <p>In a piece of code I am passing two parameters both of same type <code>b2Vec2 *</code></p>
  
  <pre><code>void bool isVelocityAllowToCar(b2Vec2 *newVelocity, b2Vec2 *preVelocity);
  </code></pre>
  
  <p>When I build my project it showing me following error.</p>
  
  <pre><code>two or more data types in declaration of 'isVelocityAllowToCar'
  </code></pre>
  
  <p>What am I doing wrong?</p>