Categories

A cout.width example

//illustrates setting the minimum
//output width using the width member
#include
#include

int main()
{
int i;
for(i=0;i<=5;i++)
{
cout.width(3);
cout< }

return 0;
}

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

You must be logged in to post a comment.