filum, a C code which handles information in text files.
The computer code and data files described and made available on this web page are distributed under the MIT license
filum is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
C_FILES, C codes which illustrate the use of files.
CR2LF, a C++ program which reads a text file and replaces carriage returns by line feeds.
CRRM, a C++ program which reads a text file and removes the carriage return character.
DEBLANK, a C++ program which reads a text file and writes a copy which has no blank lines.
DECOMMENT, a C++ program which makes a copy of a text file which contains no "comment" lines (that begin with "#").
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.
REFORMAT, a FORTRAN90 program which makes a copy of a file with a given number of "words" per line.
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++ program which makes a copy of a text file which contains no control characters.
WRAP, a C++ program which makes a copy of a text file in which no line is longer than a user-specified wrap length.