10 seconds with google finds
this
But, I would not put the
<< endl in the overload - that limits how you can use it in building up outputs from multiple object.
Last edited by vmanes; Nov 12th, 2008 at 3:16 am.
Reputation Points: 1268
Solved Threads: 228
Posting Virtuoso
Offline 1,895 posts
since Aug 2007