The words contained in this file might help you see if this file matches what you are looking for:
...C files and streams copyright tutorialspoint com http www cplusplus cpp htm so far we have been using the iostream standard library which provides cin cout methods for reading from input writing to output respectively this tutorial will teach you how read write a file requires another called fstream defines three new data types type description ofstream represents stream is used create information ifstream generally has capabilities of both means it can perform processing in header must be included your source opening opened before or either object may open purpose only following syntax function member objects void const char filename ios openmode mode here first argument specifies name location second should flag app append all that appended end ate move control out trunc if already exists its contents truncated combine two more these values by oring them together example want truncate case outfile dat similar way as follows afile closing when program terminates automatically closes f...