下列关于C++格式化输入规则的描述中,正确的是哪一项?
以下代码片段辅助理解格式化输入的常见用法:
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int a, b;
char c;
cin >> setw(4) >> a >> c >> b;
return 0;
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析