Add in FIL library

The FIL library contains a fairly complete set of basic file handling functions. To try it out:

  • Add FIL to the DIRS variable in the makefile.

  • Add this include:

#include <FIL/FILutils.h>

and then this code:

COLstring Path = FILworkingDir() + File; COLcout << "Writing file:" << Path << newline; FILwriteFile(Path, "Done"); COLcout << "Done!" << newline;

For more information on these libraries see COL, CMD and FIL libraries.

 

Related pages