Thank you. This seems to be a solution.
I might wonder one detail how it is possible to jump to a position in the file.Let´s say I already know that I will read from the middle of the file (50 %).
How will I "jump" and begin to read from here.
What method could be used for this ?
call ifstream's seekg() method to move the file pointer to any location in the file. But you must know the byte offset.