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 information on this web page is distributed under the MIT license.

Languages:

filum is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

filum_test

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.

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.