Reading ASCII files

Hello, I need to read data from an ascii file. Two loops are foreseen: the loop on the number of lines is easy to implement; on the other side, the second nested loop is on the rows. but the numer of row is not the same in all the lines. Is there a simple way to read data of such a strange file?
Thanks a lot

This question should be asked on a C++ forum (see link below). C++ can handle this easily and I’ve included a link to a page where I frequent often as reference.
For each line you will need to search for the delimiter or the eos character.
I don’t have any code to show you, but it is easy enough to find on the web.