C struct definition according to K & R.
perry at vu-vlsi.UUCP
perry at vu-vlsi.UUCP
Wed Mar 11 16:48:13 AEST 1987
In article <9929 at sri-spam.istc.sri.com>
robert at sri-spam.istc.sri.com (Robert Allen) writes:
> ..
> In short, I believe that K&R were saying, "while constructs
> such as this (above) may cause problems in some languages, they don't in
> C."
I agree with that, and so does our compiler (Pyramid 90x OSx3.1) after
adding some semicolons after the struct's { }
struct s1 {
int i;
long l;
};
struct s2 {
long i;
int l;
};
> on the net, please include the # of years you've been using C, and which
> machines/compilers you use. Thanks!
I've been using C for 0.000000E+00 years, no machines or compilers, I
just compile and execute it by inspection.
...Rick ..{cbmvax,pyrnj,bpa}!vu-vlsi!perry
perry at vuvaxcom.bitnet
More information about the Comp.lang.c
mailing list