What Can't C Do?

Phil Ronzone phil at unisoft.UUCP
Tue Mar 20 07:13:40 AEST 1984


>> <>
>>  > While you're on the subject, what about == to compare two structures?
>>  > This is even more reasonable, in that structure assignment is supported...
>> Yet another bad idea.  This is much harder than it looks, for at least the
>> following reasons: ....

However -- comparing two structure of identical names is useful. Tells the
compiler to do byte-for-byte compare inline. Equality and inequality are
obvious, but I wouldn't want to count on  < or >.

Just to provoke net.lang.c.flame, how about my favorite extension to C?

                     break(expr);



More information about the Comp.lang.c mailing list