Hudson, Loren (GE Infra, Aviation, Non-GE, US) wrote:
To clarify, I was just wondering if there was any C syntax that
compiles perfectly as Java syntax but doesn't do the same thing.
Yes, and right shifting unsigned ints in C is one of them. Try a >>> n
in place of a >> n.
--
James Hurt
Jim.Hurt@xxxxxxxxxxxx
--
DISCLAIMER: The information contained in this e-mail and attachments,
if any, is confidential and may be subject to legal privilege. If you
are not the intended recipient, you must not use, copy, distribute or
disclose the e-mail and its attachment, or any part of its content or
take any action in reliance of it. If you have received this e-mail in
error, please e-mail the message back to the sender by replying and
then deleting it. We cannot accept responsibility for loss or damage
arising from the use of this e-mail or attachments, and recommend that
you subject these to your virus checking procedures prior to use.
|