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:

    Listen, that’s the one that done it. The dusters. They started it anyways. Blowin’ like this year after year. Blowin’ the land away. Blowin’ the crops away. Blowin’ us away now.
    Nunnally Johnson (1897–1977)

    We don’t want bores in the theatre. We don’t want standardised acting, standard actors with standard-shaped legs. Acting needs everybody, cripples, dwarfs and people with noses so long. Give us something that is different.
    Dame Sybil Thorndike (1882–1976)

    It is the interest one takes in books that makes a library. And if a library have interest it is; if not, it isn’t.
    Carolyn Wells (1862–1942)

    The very natural tendency to use terms derived from traditional grammar like verb, noun, adjective, passive voice, in describing languages outside of Indo-European is fraught with grave possibilities of misunderstanding.
    Benjamin Lee Whorf (1897–1934)