#include #include int main() { enum { size = 256 }; char buf[size]; strstream sstr = { buf, size }; int i = 3, j = 5, k = 7; double x = 12345678.9, y = 98765.4321e-11; sstr | i | hex(j) | wd(10, k) | sci(x) | unit(eng(y)); write( sstr ); printf( "%s", buf ); sout | i | hex(j) | wd(10, k) | sci(x) | unit(eng(y)); }