首页
普通专升本
成人高考
学位英语
在线刷题
最近学习
最近学习课程
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
您现在位置:
模拟考场
>
湖北自学考试
>
专业课
>
C++程序设计
>
浏览试题
[单选题]
使用函数setprecision( int n)必须包含的头文件是( )。
A
iostreamb.fstreamc.ifstreamd.iomanip
收藏
查看答案
参考答案
试题答案:
D
答案解释:
C++提供了两种格式控制方式,一种是使用iso_base类提供的接口,另一种是使用一种称为操控符的特殊函数,操控符的特点是可直接包含在输入和输出表达式中,因此更为方便,不带形式参数的操控符定义在头文件中,带形式参数的操控符定义在头文件中。使用函数setprecision( int n)必须包含的头文件是iomanip。
相关题目
已知f1和f2是同一类的两个成员函数,但f1不能直接调用f2,这说明()
设有定义int i;double j=5;,则10+i+j值的数据类型是()
不允许调用者改变函数参数的函数原型声明是
一个函数功能不太复杂,但要求被频繁调用,则应把它定义为 ( )
在下面所列项中,不是面向对象的特点的是
要是一个类成为抽象类,这个类应具有的条件是( )。
已知一个string的对象str的内容为“We are here!”,使用多种方法输出字符“h”。
分析如下主程序中的错误。
类B是类A的公有派生类,类A和类B中都定义了虚函数func(),p是一个指向类A对象的指针,则p->A::func()将()
下面有关构造函数和new运算符关系的正确说法是
热门试题
1.
“一国两制”构想的提出,最初是为了解决
2.
计算机存储单元中存储的内容______。
3.
当注册会计师获得应收帐款账龄分析表后,应当实施的审计程序是()
4.
下列关于货币市场特点表述错误的是()。
5.
I wonder if there is __________ university in your hometown.
热门试卷
成人高考专升本《政治》模拟试卷
去做题
已有3133做题
2020年湖北成人高考专升本政治模拟试题三
去做题
已有1937做题
成人高考专升本政治考试模拟试题及答案(1)
去做题
已有1720做题
成人高考高起点语文考试高分突破试题及答案四
去做题
已有1149做题
成人高考专升本政治考试模拟试题及答案(2)
去做题
已有1055做题