Finding Your Position in a File
Overview
1. File Position Indicator
long currentPosition = ftell(filePointer);
2. Moving the Position Indicator
fseek(filePointer, offset, SEEK_SET);
3. Repositioning to the Beginning
fseek(filePointer, 0, SEEK_SET);