c programming style - READ THIS
Peter da Silva
peter at baylor.UUCP
Tue Aug 13 05:19:30 AEST 1985
> > Well, you should know that `++' and `--' *ONLY* works on variables of type
> > scalar, where a there is a defined successor or predecessor
>
> No, I didn't know that. Then again, neither did Kernighan nor Ritchie. See
Ritchie, did... since the Ritchie 'C' compiler complains about (float)++,
claiming it's not a scalar (or words to that effect). At least it did as
of Nov '80... I haven't tried since then.
--
Peter da Silva (the mad Australian)
UUCP: ...!shell!neuro1!{hyd-ptd,baylor,datafac}!peter
MCI: PDASILVA; CIS: 70216,1076
More information about the Comp.lang.c
mailing list