Re: Do all programming languages use files?



Richard Heathfield wrote:
> Scott Moore said:
>
>
>>Ben Pfaff wrote:
>>
>>>Scott Moore <samiam@xxxxxxxxxxxx> writes:
>>>
>>>
>>>>C doesn't have files.
>>>
>>>Hosted implementations of standard C implement a set of functions
>>>for file I/O.
>>
>>Again, C does *NOT* have file I/O. Think carefully about the question.
>
>
> As far as ISO is concerned, the standard C library is part of the language,
> except for freestanding implementations (which are not required to support
> the entire library).
>

Semantics. If its a library, then you could well argue that GPS is built
into the language, since there are undoubtedly libraries for that.

.



Relevant Pages

  • Re: read and write
    ... the C standard says otherwise. ... which are also not a part of the language. ... of these libraries are part of "C", whatever it is, since they contain ... However, any hosted implementation is required to include the entire standard C library, and prior to the standard the first edition of K&R says "Chapter 7 describes the standard C I/O library, which provides a common interface to the operating system. ...
    (comp.lang.c)
  • Re: read and write
    ... the C standard says otherwise. ... which are also not a part of the language. ... of these libraries are part of "C", whatever it is, since they contain ... common interface to the operating system. ...
    (comp.lang.c)
  • Re: [LONG] Re: Why code completion and early error checking are needed
    ... >> the programmer who wants such features. ... > libraries to find the type declaration. ... If you type std::vector that means the one from the Standard. ... > of the language to have certain naming and declaration standards ...
    (comp.lang.cpp)
  • Re: Qi Seems Great
    ... Common Lisp will simply trounce anything else in the long ... but having third party libraries to support the new ... ideas come along doesn't mean that the language itself will grow. ... Having in mind that the CL standard is rather old, ...
    (comp.lang.lisp)
  • Re: Forth and Unix -- history
    ... but modern Forths mostly drive them away. ... You have no justification to call STOIC retro nostalgia given that Standard Forth is pretty much stuck in the mid 70's. ... Users provide a large fraction of those libraries for C. Publicly. ... users must find the language comfortable in order to create such things. ...
    (comp.lang.forth)