Re: Do all programming languages use files?
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 00:45:22 GMT
Scott Moore wrote
(in article <devok8$5ov$3@xxxxxxxxxxxxxxxxxxxxxx>):
> 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.
Yes, and as all serious programmers know, semantics are
important, rather than being a word to insert in place of 'I
don't want to argue about this'.
> If its a library, then you could well argue that GPS is built
> into the language, since there are undoubtedly libraries for that.
No, you could not argue that. You seem to be deliberately
ignoring the word 'standard' immediately before 'C library'
above. Apart from people doing embedded work, almost everybody
with a C compiler has access to the standard C library the
second they install the compiler package. Can you name a C
compiler that comes with a GPS library built-in? More
importantly, does the ISO C standard specify a <stdgps.h> header
file to define its interfaces?
--
Randy Howard (2reply remove FOOBAR)
.
- References:
- Do all programming languages use files?
- From: Past
- Re: Do all programming languages use files?
- From: Scott Moore
- Re: Do all programming languages use files?
- From: Ben Pfaff
- Re: Do all programming languages use files?
- From: Scott Moore
- Re: Do all programming languages use files?
- From: Richard Heathfield
- Re: Do all programming languages use files?
- From: Scott Moore
- Do all programming languages use files?
- Prev by Date: Re: GNU Public Licences Revisited (again)
- Next by Date: Re: i need help
- Previous by thread: Re: Do all programming languages use files?
- Next by thread: Re: Do all programming languages use files?
- Index(es):
Relevant Pages
|