View Single Post
  #2 (permalink)  
Old May 15th, 2016, 07:01 AM
Marc Gregoire Marc Gregoire is offline
Wrox Author
Points: 220, Level: 4
Points: 220, Level: 4 Points: 220, Level: 4 Points: 220, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Posts: 49
Thanks: 0
Thanked 4 Times in 4 Posts
Default

On page 559, there is a section called "Input and Output with Objects" that explains how to add support for operator<< and >> to your own objects.
With these you can then stream your objects to for example a file stream discussed elsewhere in the same chapter.