Re^2: still problems with ?:

Maarten Litmaath maart at cs.vu.nl
Sat Jun 10 03:05:58 AEST 1989


dg at lakart.UUCP (David Goodenough) writes:
\From article <2632 at solo1.cs.vu.nl>, by maart at cs.vu.nl (Maarten Litmaath):
\> chris at mimsy.UUCP (Chris Torek) writes:
\> \...
\> \But e1?e2:e3 *can* be turned into (e1&&e2 || !e1&&e3)
\> 
\> But what if e1 == *p++?
\
\Simple:
\
\((a = *p++) && e2 ) || (!a && e3)

You didn't get the point.
-- 
 "Your password [should be] like your |Maarten Litmaath @ VU Amsterdam:
      toothbrush." (Don Alvarez)      |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.lang.c mailing list