Jason Ford thinks this is interesting: Buffer contains From Lesson 9. Classes and Objects from Sams Teach Yourself C++ in One Hour a Day, Seventh Edition by Siddhartha Rao Publisher: Sams Released: May 2012 Note Typo in above CODE snippet - cout << "Buffer contains: " on line 45 should be removed, output here only displays it once Share this highlight http://www.safaribooksonline.com/a/sams-teach-yourself/48315/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in. Minimise Unlock the rest of this book and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.