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 in geology, so in social institutions, we may discover the causes of all past changes in the present invariable order of society.”
—Henry David Thoreau (18171862)
“This unlettered mans speaking and writing are standard English. Some words and phrases deemed vulgarisms and Americanisms before, he has made standard American; such as It will pay. It suggests that the one great rule of compositionand if I were a professor of rhetoric I should insist on thisis, to speak the truth. This first, this second, this third; pebbles in your mouth or not. This demands earnestness and manhood chiefly.”
—Henry David Thoreau (18171862)
“Madam, a circulating library in a town is as an evergreen tree of diabolical knowledge; it blossoms through the year. And depend on it ... that they who are so fond of handling the leaves, will long for the fruit at last.”
—Richard Brinsley Sheridan (17511816)
“The trouble with foreign languages is, you have to think before your speak.”
—Swedish proverb, trans. by Verne Moberg.