Convert couple of characters to int
<p>How can I convert couple of characters to int, to keep the question simple let's assume this :</p>

<pre><code>char c1 = '1';
char c2 = '4';
char c3 = '5';
</code></pre>

<p>What would be the efficient way to get <code>145</code> type int.</p>
