CFour - CFconsole | Home | CFdatapair | CFconf | Download | SourceForge Project Page


CFfile

The CFfile class is designed to act as a wrapper to fstream and iostream in one class. The insertion and extraction operators have been overloaded, so it can be used as a stream class. In addition, the methods automate alot of code which programmers typically write when making command-line programs that deal with both input and output files. One of the most powerful features is the ability to switch between file I/O and STDIN/STDOUT I/O modes. This gives programmers the ability to easily write programs that support "piping" of data from the command line.

Header File
Source File
Example File


Project Hosted by SourceForge