uppercase | ios::showpos); T «

Автор admin Пятница, 15 мая 2009 11:32

uppercase | ios::showpos); T « i « endl: +47 T.setf(ios::hex. ios::basefield); T « i « endl; 0X2F T.setfdos: :o ct. ios: :basefield): T « i « endl: 057 T.unsetf(ios::showbase): T.setfdos: :dec. ios: :basefield): T.setf(ios::left. ios::adjustfield): T.fill(‘O’): T « “fill char: ” « T.fillO « endl: fill char: 0 T.width(lO); +470000000 T.setf(ios::right, ios::adjustfield): T.width(lO); 0000000+47 T.setfdos: internal. ios: :adjustfield): T.widthdO): +000000047 T « i « endl: +47 T.unsetf(i os::showpos): T.setfdos: :showpoint); T « “prec = ” « T.precisionO « endl: prec = 6 T.setfdos: scientific, ios: :floatfield): T « endl « f « endl: 2.300114E+06 T.unsetf(ios:uppercase): T « endl « f « endl; 2.300114e+06 T.setf(ios::fixed, ios::floatfield); T « f « endl; 2300114.500000 T.precision(20): T « “prec = ” « T.precisionO « endl: prec = 20 T « endl « f « endl: 2300114.50000000000000000000 T.setfdos: scientific, ios: :floatfield): T « endl « f « endl; 2.30011450000000000000e+06 T.setfdos: :fixed. ios: :floatfield): T « f « endl; 2300114.50000000000000000000 T.widthdO): Is there any more? T.width(40): 00000000000000000


Комментарии закрыты.