The method in that tutorial is an old C solution, simple to implement, but doesn't play nice with C++, and is machine/compiler dependent.
I'd overload the stream operators and output the data members to a plain text file. If you want something fancier, consider using the boost serialization library. http://www.boost.org/libs/serialization
I quite often use XML as my serialization format, but then I have boiler plate code available to do most of the work. For a one off, custom code would prob be ok. You only real bit of work would be code to read and write the array safely.
If you want to learn a reusable approach though, it could be worth looking at one of the established libraries. In addition to Boost.Serialization, you could consider a JSON or YAML library. I've only played with these (we use XML at work...), but they look more friendly than XML.