Would *you* get caught by this one?
LTH network news server
newsuser at LTH.Se
Fri Jan 13 17:59:01 AEST 1989
In article <139 at mole-end.UUCP> mat at mole-end.UUCP (Mark A Terribile) writes:
>
> When is a *= b not the same as a = a * b ?
For example, if you have:
#define b x + y
then:
a *= b <=> a *= (x + y)
a = a * b <=> a = (a * x) + y
I strongly recommend the following book:
Andrew Koenig: ``C Traps and Pitfalls'', Addison-Wesley Publishing
Company, 1989. ISBN 0-201-17928-8.
Dag Bruck
--
Department of Automatic Control Internet: dag at control.lth.se
Lund Institute of Technology
P. O. Box 118 Phone: +46 46-108779
S-221 00 Lund, SWEDEN Fax: +46 46-138118
More information about the Comp.lang.c
mailing list