I get the following core dump msg:
terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr Abort - core dumped
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:
123456789ABCDE 123456789ABCDE 123456789ABCDE 123456789ABCDE 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?