Is this Expresio Valid

Heelo, I am new to ths forum and site,
I am confussed with a book Called > Programming with C++ by D Ravichandran,2005 edition
in this book a Program has a an expresion >>> Cout.setf(ios::showbase);
but when I googled it showedthis site with difference ,some ios_setf thing,
Is the earlier expression changed accordig to new C++ Standard or not Please help
,and by the way will you tell me does the Expression >>> (ios::showbase) means ios takes the functanalit of Showbase or Viceversa,

Please help ,
Compile and check for yourself.
showbase is used for displaying hexadecimal and octal values.
Look at this for an example
http://www.cplusplus.com/reference/iostream/ios_base/setf.html

or this
http://www.cplusplus.com/reference/iostream/manipulators/showbase.html

Thanks for directig to a useful page,
but Iwant to know that weither this >>> ios_base::setf
is equal to >>>cout.setf(ios::showbase)
doe this boh are used for same thing and the latest Stle is >>ios_base::setf

THnk for your time
Topic archived. No new replies allowed.