已知outfile是一个输出流对象,要想将outfile的文件指针定位到当前位置之前321字节处,正确的函数调用语句是
A. outfile.seekp(321,ios_base::cur);
B. outfile.seekp(321,ios_base::bge);
C. outfile.seekp(-321,ios_base::beg);
D. outfile.seekp(-321,ios_base::cur);
查看答案
A.HumanitiesB.HumanityC.HumanD.Human subject
A. Humanities
B. Humanity
C. Human
D. Human subject
有如下程序: #include<iostream> using namespace std; class Demo
A. 1和1
B. 1和2
C. 2和3
D. 2和4
下面的函数模板定义中错误的是
A. template
B. template Q F(Q x){retum Q+x;) Q F(Q x){return x+x;}
C. template<classT>
D. template<class T> TF(T x){return x*x;) Bool F(tx){return x>1;)
The author's attitude towards the future of China's AIDS problem might be described as one
A. worried.
B. indifferent.
C. optimistic.
D. frustrated.