Conversation

Rant of the day time.

The C standards committee has added all this crap to C but they've still not fixed the lack of a ^^ operator for XOR of two logical expressions

3
0
0

@etchedpixels bring back all the B operators including =!= and =<=

0
0
0

@leah @etchedpixels

'exactly one str is "apple"':

 strcmp("apple", s1) ^^ strcmp("apple", s2)

...

1
0
0

@ysegrim @leah strcmp("apple", s1) != strcmp("apple", s2)

2
0
0
@etchedpixels @ysegrim @leah That one does not do what ysegrim asked for. Subtly broken :-).
1
0
0

@pavel @leah @etchedpixels I think !! should work (good suggestion!) ... Feels like quite a foot gun though

0
0
1

Sorry misread @mansr one - you are of course correct.

0
0
0