Export (0) Print
Expand All

fpos::fpos

Create an object that contains information about a position (offset) in a stream.

fpos( 
   streamoff _Off=0 
); 
fpos( 
   Statetype _State, 
   fpos_t _Filepos 
);

_Off

The offset into the stream.

_State

The starting state of the fpos object.

_Filepos

The offset into the stream.

The first constructor stores the offset _Off, relative to the beginning of file and in the initial conversion state (if that matters). If _Off is -1, the resulting object represents an invalid stream position.

The second constructor stores a zero offset and the object _State.

Header: <ios>

Namespace: std

Show:
© 2014 Microsoft