while('\0'<> X); /* Yes, of course,
(X), but that's my point. */
ITYM !=
With most C compilers either would
work.
Really? If so, it's an extension, since <> in that context is a syntax
error in C. (Indeed, I can't think of any context in which it isn't a
syntax error in C, except cases like a string or character literal,
where almost any two source characters are acceptable, or cases like
part of a false #if block where it doesn't actually get compiled.)
Which compilers have you found accept it?
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B