Call this member function to reposition the pointer in a previously opened file. The Seek function permits random access to a file's contents by moving the pointer a specified amount, absolutely or relatively. No data is actually read during the seek.
virtual LONG Seek( LONG lOff, UINT nFrom );
throw( CFileException );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFile Overview, CFile Member Functions, File Service Classes