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:
“As between these two, the need that in its haste to be abolished cannot pause to be stated and the need that is the absolute predicament of particular human identity, one does not presume to suggest a relation of worth. Yet the distinction is perhaps not idle, for it is from the failure to make it that proceeds the common rejection as obscure of most that is significant in modern music, painting and literature.”
—Samuel Beckett (19061989)
“As long as male behavior is taken to be the norm, there can be no serious questioning of male traits and behavior. A norm is by definition a standard for judging; it is not itself subject to judgment.”
—Myriam Miedzian, U.S. author. Boys Will Be Boys, ch. 1 (1991)
“It is the interest one takes in books that makes a library. And if a library have interest it is; if not, it isnt.”
—Carolyn Wells (18621942)
“The less sophisticated of my forbears avoided foreigners at all costs, for the very good reason that, in their circles, speaking in tongues was commonly a prelude to snake handling. The more tolerant among us regarded foreign languages as a kind of speech impediment that could be overcome by willpower.”
—Barbara Ehrenreich (b. 1941)