函数setw(n)使用格式为cout << sewt(n) << x << endl; 效用为在输出x之前输出n个空格(并没有什么鬼用,不过偶然知道了就记下来好啦) 转载于:https://www.cnblogs.com/geloutingyu/p/5890220.html