Re: Do all programming languages use files?



Scott Moore <samiamsansspam@xxxxxxx> writes:

> 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.

A hosted implementation is *required* to have the standard C file
I/O function. A hosted implementation is *not* required to have
a library for GPS.
--
"Long noun chains don't automatically imply security."
--Bruce Schneier
.



Relevant Pages

  • Re: Do all programming languages use files?
    ... >> Scott Moore wrote: ... >>>designers don't consider libraries to be part of the language itself. ... >> the libraries as part of the Standard Definition. ...
    (comp.programming)
  • Re: standard libraries
    ... be considered a standard C compiler? ... A hosted implementation must provide ... only means that the compiler has to compile the C file ... What has to do with libraries? ...
    (comp.lang.c)
  • Re: Do all programming languages use files?
    ... Scott Moore wrote ... >> As far as ISO is concerned, the standard C library is part of the language, ... since there are undoubtedly libraries for that. ...
    (comp.programming)
  • Re: standard libraries
    ... pete said: ... Does a hosted implementation require ... Those are not libraries. ... Parts of the standard library, ...
    (comp.lang.c)
  • Re: standard libraries
    ... pete said: ... Does a hosted implementation require ... Those are not libraries. ... Parts of the standard library, ...
    (comp.lang.c)