users
[Top] [All Lists]

Re: [cinjug-users] Java vs. C

To: "Hudson, Loren (GE Infra, Aviation, Non-GE, US)" <loren.hudson@xxxxxx>
Subject: Re: [cinjug-users] Java vs. C
From: Jim Hurt <Jim.Hurt@xxxxxxxxxxxx>
Date: Mon, 15 Oct 2007 16:02:38 -0400
Authentication-results: gwout2 smtp.user=JimHurt; auth=pass (LOGIN)
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@xxxxxxxxxx
In-reply-to: <0BE974242D712B4B86B49792A69D789C02C37DF8@xxxxxxxxxxxxxxxxxxxxxxxx>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <0BE974242D712B4B86B49792A69D789C02C37DF8@xxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
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.


<Prev in Thread] Current Thread [Next in Thread>