Re: Do all programming languages use files?



Scott Moore <samiamsansspam@xxxxxxx> writes:

> Scott Moore wrote:
>> Ben Pfaff wrote:
>>>Scott Moore <samiamsansspam@xxxxxxx> writes:
>>>>Ben Pfaff wrote:
>>>>>Scott Moore <samiam@xxxxxxxxxxxx> writes:
>>>>>>Past wrote:
>>>>>>>I was doing a research to see if all the programming languages ever
>>>>>>>written have atleast some small level capability of successfully
>>>>>>>writing and reading from files?
>>>>>>
>>>>>>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.
>>>
>>>A hosted implementation *must* have functions for file I/O.
>>
>> Last time, that does NOT make it part of the language, which was
>> the orignal question.
>
> Put it this way. A CPU is required as part of a C implementation. That
> does not make a CPU part of the C language.

The C standard does not specify the structure or form of the CPU.
It does specify the structure and form of the standard C library.
--
Ben Pfaff
email: blp@xxxxxxxxxxxxxxx
web: http://benpfaff.org
.



Relevant Pages

  • Re: Do all programming languages use files?
    ... > Scott Moore wrote: ... >>Ben Pfaff wrote: ... A CPU is required as part of a C implementation. ... > does not make a CPU part of the C language. ...
    (comp.programming)
  • Re: Do all programming languages use files?
    ... Scott Moore wrote: ... > Ben Pfaff wrote: ... A CPU is required as part of a C implementation. ... does not make a CPU part of the C language. ...
    (comp.programming)
  • Re: help about project
    ... Ben Pfaff wrote: ... Why not use a language more naturally suited? ... the Internet is a drunk librarian who ...
    (comp.lang.c)
  • Re: Spirit rover OS problems ( a reliable language )
    ... On Tue, 17 Feb 2004 18:57:47 GMT, Scott Moore wrote: ... Silly of me not to realise your private definition of "expression" was ... unrelated to the meaning of the term within the language under ...
    (comp.arch.embedded)
  • [OT] Re: newbie strcmp woes
    ... On Wed, 24 Mar 2004, Ben Pfaff wrote: ... For example, ERT ... When I run ERT's text through the 'gcc' compiler for the C language, ...
    (comp.lang.c)