StreamTest2 is a project mainly written in ..., it's free.
An Xcode C++ project using fstream
This project shows a way of using fstream to read and write files. There are a few irregularities with using fstream such as use of c-strings to address the actual filenames that are opened.