C Standard Library - The C Standard Library in Other Languages

The C Standard Library in Other Languages

Some languages include the functionality of the standard C library in their own libraries. The library may be adapted to better suit the language's structure, but the operation semantics are kept similar. The C++ language, for example, includes the functionality of the C standard library in the namespace std (e.g., std::printf, std::atoi, std::feof), in header files with similar names to the C ones (cstdio, cmath, cstdlib, etc.). Other languages that take similar approaches are D and the main implementation of Python known as CPython. In the latter, for example, the built-in file objects are defined as "implemented using C's stdio package", so that the available operations (open, read, write, etc.) are expected to have the same behavior as the corresponding C functions.

Read more about this topic:  C Standard Library

Famous quotes containing the words the c, standard, library and/or languages:

    When they are not at war they do a little hunting, but spend most of their time in idleness, sleeping and eating. The strongest and most warlike do nothing. They vegetate, while the care of hearth and home and fields is left to the women, the old and the weak. Strange inconsistency of temperament, which makes the same men lovers of sloth and haters of tranquility.
    Tacitus (c. 55–c. 120)

    Liberty requires opportunity to make a living—a living decent according to the standard of the time, a living which gives a man not only enough to live by, but something to live for.
    Franklin D. Roosevelt (1882–1945)

    ... the subjective viewpoint is the only one to use regarding a library. Your true library is a collection of the books you want. You may have deplorably poor taste or bad judgment. Never mind. Correct those traits before you exchange your books.
    Carolyn Wells (1862–1942)

    It is time for dead languages to be quiet.
    Natalie Clifford Barney (1876–1972)