Prata S. - C++ Primer Plus, 6th Edition - 2011 Code Example