![]() |
#2
gz812009-09-18 08:23
|
#include<iostream.h>
#include<iomanip.h>
void main()
{cout<<setfill('*')<<123<<setw(9)<<321;
cout<<setfill('*')<<setw(6)<<left<<123<<setw(6)<<right<<321;
cout<<123<<setfill('*')<<setw(6)<<321<<endl;
cout<<setfill('*')<<setw(9)<<left<<123<<321<<endl;
}
编译器读不懂left与right,请问要加上什么头文件才能使程序正确呢?