exception handling
<p>I get the following core dump msg:</p>

<p>terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Abort - core dumped</p>

<p>I am reading a 14 digit hexadecimal number from a large file. periodically i notice that there are these blank lines (well i am not sure what it is. How do I handle this exception? maybe a try catch thingy? It looks something like below:</p>

<pre><code>123456789ABCDE
123456789ABCDE
123456789ABCDE

123456789ABCDE
</code></pre>

<p>I am not sure what hidden symbol is occupying the space but its causing issues and i am not sure how to handle this..any ideas? maybe i could get a sample of how to handle it?  </p>
