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:

    Whist Partner: Great Caesar’s Ghost. A woman! In the Club.
    Phileas Fogg: My dear, I must ask you to leave these precincts at once. No woman has ever set foot in the Club.
    Aouda: Why not?
    Phileas Fogg: Because that could spell the end of the British Empire.
    James Poe (1921–1980)

    A disposition to preserve, and an ability to improve, taken together, would be my standard of a statesman.
    Edmund Burke (1729–1797)

    Every library should try to be complete on something, if it were only the history of pinheads.
    Oliver Wendell Holmes, Sr. (1809–1894)

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