setw

设置输出宽度

靠左cout << left << setw(xxxx)

靠右同理

posted @ 2019-07-29 18:04  zuo_ti_jia  阅读(107)  评论(0编辑  收藏  举报