/p>

<p>In general, about 50% of your code could be handling errors.</p>

<p>Why is this bad?</p>

<ul>
<li><p>50% of the code will be error handling</p></li>
<li><p>it will be hard to see what the code is doing.</p></li>
</ul>

<p>Exceptions can be triggered by unusual condition or situation that precludes a function from completing normally</p>             </td>             <td class="code">               <div class="highlight"><pre><span class="n">ifstream</span> <span class="n">infile</span><span class=