I have a file with N blocks of data. There is a space of two empty rows between them. I would like to make a script in c++ that read only the last block in order to make more calculations and graphics with those data. How can I do that? Thanks.
Yes, that is a possibility, but maybe I have a lot of blocks, thousands of them. There is something more efficient and elegant, like going to the end of the file and then go back the size of one block?