Writing complex C++ objects to file
===

I have a C++ objects that looks like this

    class myClass
    {
        vector<OtherClass*> otherClassVector;
        AnotherClass* anotherClassObj;
        // A few other primitive types and functions
    }

What is the best way to store this to disk and read it back programmatically?
Will using fstream read/write in binary mode work? Or should I use boost serialization? And why?
I don't require the stored file to be human readable.