The need for D-scussion (was Re: D Wishlist)
Doug Gwyn
gwyn at brl-smoke.ARPA
Sat Mar 19 11:19:44 AEST 1988
In article <6128 at bellcore.bellcore.com> sjs at spectral.UUCP (Stan Switzer) writes:
>How about:
> q = a/b, r = a%b;
Nice try, but no cigar. It works fine for this simple example, but
what if a and b are replaced by more complex expressions, perhaps
involving side-effects? This is the same situation that justifies
the presence of the op= operators in the language.
More information about the Comp.lang.c
mailing list