首页上一页 1  下一页尾页 2 条记录 1/1页
        #include<iostream>
#include<iomanip> //要使用setw (int n) 和setfill(char c)
using namespace std;
int main ()
{
cout<<setw(30)<<"Hello world!\n"; //输出宽度为30,从最左端到!
cout<<setfill('*')<<setw(30)<<"Hello world!\n"; //stetfill:填充
return 0;
}

	
                                                
购物车
发表新帖
立即签到
                    
                






