C_FILES
Reading and Writing Files in C


C_FILES is a directory of C programs which illustrate the use of files.

Licensing:

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

Languages:

A version of C_FILES is available in a C version and a C++ version and a FORTRAN90 version.

Related Data and Programs:

C, C programs which illustrate some of the features of the C programming language.

FILUM, a C library which can work with information in text files.

TABLE_IO, a C library which reads and writes table files.

Reference:

  1. Samuel Harbison, Guy Steele,
    C: A Reference Manual,
    Third Edition,
    Prentice Hall, 1991,
    ISBN: 0-13-110933-2,
    LC: QA76.73.C15H38.
  2. Brian Kernighan, Dennis Ritchie,
    The C Programming Language,
    Second Edition,
    Prentice Hall, 1988,
    ISBN: 0-13-110362-8.
  3. Robert Sedgewick,
    Algorithms in C,
    Addison-Wesley, 1990,
    LC: QA76.73.C15S43,
    ISBN: 0-201-51425-7.

Examples and Tests:

MICE is an example in which a file of strings is to be read.

You can go up one level to the C source codes.


Last revised on 29 April 2013.