//
#include <iostream>
#include <iomanip>
int main() {
std::cout << "no setw:" << 42 << '/n'
<< "setw(6):" << std::setw(6) << 42 << '/n'
<< "setw(6), several elements: " << 89 << std::setw(6) << 12 << 34 << '/n';
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265562.html