有如下程序:
#include <iostream>
#include <iomanip >
using namespace std;
int main(){
cout.fill('*');
cout<<left<<setw(4)<<123<<"OK"<<endl;
return 0;}
执行这个程序的输出结果是
123*OK
123*OK**
*123OK
*123**OK
发表评论