title: how to change type of value char array to int in c++?
body: <p>I'm new to CPP.</p>
  
  <p>I'm trying to create small console app.</p>
  
  <p>my qustion is, is there a way to change char array to integer...?!</p>
  
  <p>for example:</p>
  
  <p><code>char myArray[]= "12345678"</code> to <code>int = 12345678</code> ...?!</p>
  
  <p>tnx</p>