单选题
要利用C++流实现输入输出的各种格式控制,必须在程序中包含的头文件是( )。
A、
fstream
B、
istreara
C、
usiream
D、
iomanip
【正确答案】
D
【答案解析】
解析:要使用setw、fixed等操作符,须包含iomanip这个文件。
提交答案
关闭