{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Jan 23 - Cout<<setfill(‘0’/valid until reset...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Jan 23, 2006, ECE106 Scopes I/O X=503 #include <iomanip> Cout<<setw(8)<<x<<endl; //setw active only for the next print //” 503” Cout<<x<<endl; // “503”
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Cout<<setfill(‘0’); //valid until reset Cout<<setw(8)<<x<<endl; //”00000503” Cout<<setprecision(2)<<432.3434<<endl //”432.34”...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online