title: How to convert from const char* to unsigned int c++
body: <p>I am new in c++ programming and I have been trying to convert from const char* to unsigned int with no luck.
  I have a:</p>
  
  <pre><code>const char* charVar;
  </code></pre>
  
  <p>and i need to convert it to:</p>
  
  <pre><code>unsigned int uintVar;
  </code></pre>
  
  <p>How can it be done in C++?</p>
  
  <p>Thanks</p>