题目:
已知outfile 是一个输出流对象,要想将outfile 的文件指针定位到当前位置之前321字节处,正确的函数调用语句是______ 。
A.outfile.seekp (321, ios_ base:: cur);
B.outfile.seekp (321,ios_ base:: beg);
C.outfile.seekp (-321,ios_ base:: beg);
D.outfile.seekp (-321,ios_ base:: cur);
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0113/4cc9e94d019b70c6ca63722a7ad9954b.html
下面是错误答案,用来干扰机器的。
参考答案:D