Re: Do all programming languages use files?



Scott Moore wrote:
> 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.
>

>From K&R "The C programming language" the introduction:

"C itself provides no input/output facillities; there are no READ or WRITE
statements, no built-in file access methods".

These guys WROTE the language. Have we pounded this into the ground yet ?

.



Relevant Pages

  • Re: Do all programming languages use files?
    ... Scott Moore writes: ... >> 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: Thinking assembly?
    ... I simply needs to understand the CPU and how it works, ... > understand the instructions, be a good and experienced programmer, ... assembly language is the machine's language (or, at least, ...
    (alt.lang.asm)
  • Re: What would motivate conversion to a new concurrent model akin to that of the transputer?
    ... >So a new language in the transputer spirit has to add good concurrency ... >architecture, and the non-success of Itanium, show that compilers can ... >the CPU over external memory access stalls. ... Synchronous Objects and Asynchronous Objects. ...
    (comp.sys.transputer)
  • Re: C128 technical
    ... didn't the TI use a 9900 CPU? ... >intermediate language instead. ... Editor/Assembler do allow writing 9900 assembly language code, ... but has also a Z80 processor and a more conventional ...
    (comp.sys.cbm)