ass="p">;</span>
    <span class="n">infile</span> <span class="o">&gt;&gt;</span> <span class="n">name</span><span class="p">;</span>
    <span class="k">if</span> <span class="p">(</span><span class="n">infile</span><span class="p">.</span><span class="n">bad</span><span class="p">())</span> <span class="p">{</span>
        <span class="cm">/* error handling */</span>
    <span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="n">infile</span><sp