title: How do I convert a single char in string to an int
body: <p>Keep in mind, if you choose to answer the question, I am a beginner in the field of programming and may need a bit more explanation than others as to how the solutions work. </p>
  
  <p>Thank you for your help.</p>
  
  <p><strong>My problem is that I am trying to do computations with parts of a string (consisting only of numbers), but I do not know how to convert an individual char to an int. The string is named "message".</strong></p>
  
  <pre><code>for (int place = 0; place &lt; message.size(); place++)
          {
              if (secondPlace == 0)
              {
                  cout &lt;&lt; (message[place]) * 100 &lt;&lt; endl;
              }
          }
  </code></pre>
  
  <p>Thank you.</p>