filum


filum, a C++ code which handles information in text files.

The original version of this library used the C representation of strings as pointers to characters. The library is being updated to use the C++ string data type.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

filum is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

FILE_NAME_SEQUENCE, a C++ code which demonstrates ways to generate a sequence of filenames that can be used when generating images for an animation.

filum_test

REWORD, a C++ program which reads a text file and writes a copy which has a fixed number of "words" per line.

UNCONTROL, a C++ code which makes a copy of a text file which contains no control characters.

WRAP, a C++ code which makes a copy of a text file in which no line is longer than a user-specified wrap length.

Reference:

  1. Tom Christiansen, Nathan Torkington,
    "8.6: Picking a Random Line from a File",
    Perl Cookbook, pages 284-285,
    O'Reilly, 1999.

Source Code:


Last revised on 07 March 2020.