Getting Started


Download the latest distribution file from at This will be an archive file named ioflib-ver.tar.gz or (both have the exact same content), where ver will be the version number of the library.

There is no installer (*.msi or *.exe) for Windows since it is not necessary: you just need to put the contents in the folder of your choice, as explained next.


Extract the contents of the distribution file (that you just downloaded) to a folder of your choice (e.g. your home directory, 'My Documents', etc). In that folder you will see a new subfolder called ioflib-ver containing the following tree of subfolders:


There is no library to build, no source files to compile (everything is templates in header files), so YOU'RE DONE!!

If you want, you can copy just the 'include/iof' directory to a more accessible location (e.g., into /usr/local/include or into "Microsoft Visual Studio .NET 2003\Vc7\include"). You should know how to do this, but here are some details:


Copy the include/iof folder to a location of your choice. You can then add that location to your include path for your compiler. E.g.

> cp -r include/iof /usr/local/include
> ls /usr/local/include
> g++ -I /usr/local/includes ...


The 'location of your choice' would probably be somewhere under "My Documents" or in the Vc7 tree etc. The test subfolder may be a good place to look at the compiler switches used for both g++ and Vc7 compilers.


Regardless of where you put things, if the folder that contains the iof folder is called YOUR_INCLUDES then all you have to do is tell your compiler to add the folder YOUR_INCLUDES to its inclusion search path. That's because iof was designed so that any iof #include directive has the form #include "iof/an_iof_header.hpp". Just writing #include "an_iof_header.hpp" will not work (if it does, expect it to not work next time you upgrade iof <g>).

Where to go from here

The General usage explains the classes and functions available in the iof library, and many possible ways of using them.

The Output Specification Table gives a summary of all the formatted output specification characters.

The Input Specification Table (under construction) does the same for formatted input.

Generated on Fri Nov 24 16:16:01 2006 for IOF Library by doxygen 1.5.1-p1
Thanks to Logo for hosting