다음을 통해 공유


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>

네임스페이스: std

참고 항목

참조

fpos 클래스

iostream 프로그래밍

iostreams 규칙