Initializing arrays of char

Henry Spencer henry at zoo.toronto.edu
Wed Oct 10 03:00:42 AEST 1990


In article <1009 at nlsun1.oracle.nl> bengsig at oracle.nl (Bjorn Engsig) writes:
>Since K&R1 seems to be clear, how come the compilers accepted it?  Or
>does K&R1 actually hide it somewhere?

It is worth remembering that K&R1 was obsolete in details very quickly.
For example, it does not mention structure assignment or enums, both of
which were de facto part of old C.  People implementing old-C compilers
had to work fairly hard to figure out exactly what language they were
implementing.  (Harbison & Steele, the best pre-ANSI reference manual,
came out of one company's effort to pin down an exact definition of C.)
Various little extensions became common practice without ever being
blessed by K&R1.
-- 
Imagine life with OS/360 the standard  | Henry Spencer at U of Toronto Zoology
operating system.  Now think about X.  |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list