Ok…
I basically picked up out the library because it was current and had some info on STL.
What was an added bonus is that all the samples are in indivdual codeblocks projects and the author has also included a workspace file sequenced more or less to the book…
This is really cool…
Why??
Basically I can rip through each example very quickly with a couple of keystrokes/mouseclicks.
I understand the code and what it does… No problem…. On to the next example.
I counted 79 code::block projects defined. I got up to 5’th project(BitTest) (chapter 4)where I found something that I was unfamiliar with:
cout.unsetf(cout.dec);
cout.setf(cout.hex);
Ok It makes me feel a little less of the dummy that the author says he gets into that more in chapter 23 :)…
Lets check this out a little…
http://www.cplusplus.com/reference
/iostream/
Hmm… Not much help… Time to jump to chapter 23… Ok… format flags defined in istream and ostream object…
Ok… Click on the the “#include
A little poking around and I found the reference:
http://www.cplusplus.com/reference/iostream/ios_base/fmtflags/
I wanted to see the results in binary but apparently its not so easy:
http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.13