macors and semicolons
Robert E. Lancia
rob at meaddata.com
Tue Jun 25 22:35:20 AEST 1991
In article <1991Jun24.213932.595 at otago.ac.nz> andrew at otago.ac.nz writes:
>I often get pissed off with the C pre-processor. Here is one thats been
>getting up my wick for months.
>
>#define SWAP(a, b) {int c; c = a; a = b; b = c}
^^
Notice that Andrew, as well as most of the replies I've seen so far,
forgot the semi-colon after the b=c assignment.
>
[ . . . stuff deleted . . . ]
>Andrew
>andrew at otago.ac.nz
Rob.
--
|Robert Lancia | The above opinions | Mead Data Central
|(513) 297-2560 | may not necessarily | Data Services Division
|rob at pmserv.meaddata.com | be MDC's. Heck, they | P.O. Box 308
|...!uunet!meaddata!pmserv!rob | may not even be mine. | Dayton, Ohio 45401
More information about the Comp.std.c
mailing list