title: How to write an object to file in C++
body: <p>I have an object with several text strings as members.  I want to write this object to the file all at once, instead of writing each string to file.  How can I do that?</p>