在线文档教程
C++
输入/输出 | Input/output

std::ios_base::seekdir

科技促进发展:监督办[医]基地::Sekdir

typedef /*implementation defined*/ seekdir;
static constexpr seekdir beg = /*implementation defined*/ static constexpr seekdir end = /*implementation defined*/ static constexpr seekdir cur = /*implementation defined*/

指定文件查找方向类型。定义了以下常量:

ConstantExplanation
begthe beginning of a stream
endthe ending of a stream
curthe current position of stream position indicator

另见

seekgsets the input position indicator (public member function of std::basic_istream)
seekpsets the output position indicator (public member function of std::basic_ostream)
pubseekoffinvokes seekoff() (public member function of std::basic_streambuf)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/io/IOS[医]基/基