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:

    ...I delivered the poor who cried, and the orphan who had no helper. The blessing of the wretched came upon me, and I caused the widow’s heart to sing for joy. I put on righteousness, and it clothed me; my justice was like a robe and a turban. I was eyes to the blind, and feet to the lame. I was a father to the needy, and I championed the cause of the stranger. I broke the fangs of the unrighteous, and made them drop their prey from their teeth.
    Bible: Hebrew, Job 29:12-17.

    Job, recounting his faithfulness.

    Any honest examination of the national life proves how far we are from the standard of human freedom with which we began. The recovery of this standard demands of everyone who loves this country a hard look at himself, for the greatest achievments must begin somewhere, and they always begin with the person. If we are not capable of this examination, we may yet become one of the most distinguished and monumental failures in the history of nations.
    James Baldwin (1924–1987)

    That a famous library has been cursed by a woman is a matter of complete indifference to a famous library. Venerable and calm, with all its treasures safe locked within its breast, it sleeps complacently and will, so far as I am concerned, so sleep forever. Never will I wake these echoes, never will I ask for that hospitality again ...
    Virginia Woolf (1882–1941)

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