标题:简单语句解释
只看楼主
兜兜的ideas
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2017-3-23
结帖率:100%
已结贴  问题点数:20 回复次数:2 
简单语句解释
infile.seekg( 5,ios ::beg)什么意思,非常感谢,跪求。
2017-03-23 21:22
rjsp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:507
帖 子:8890
专家分:53117
注 册:2011-1-18
得分:20 
C++函数千千万万,难道你一个个的问?
当然是自己查函数手册啦,
http://en.
basic_istream& seekg( off_type off, std::ios_base::seekdir dir);

off     -     relative position to set the input position indicator to.
dir     -     defines base position to apply the relative offset to. It can be one of the following constants:
        beg     the beginning of a stream
        end     the ending of a stream
        cur     the current position of stream position indicator

2017-03-24 08:22
兜兜的ideas
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2017-3-23
得分:0 
回复 2楼 rjsp
谢谢,建议。
2017-03-24 09:37



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-475430-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.130024 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved