| To: | <users@xxxxxxxxxx> |
|---|---|
| Subject: | Java vs. C |
| From: | "Hudson, Loren (GE Infra, Aviation, Non-GE, US)" <loren.hudson@xxxxxx> |
| Date: | Mon, 15 Oct 2007 14:29:58 -0400 |
| Delivered-to: | mailing list users@xxxxxxxxxx |
| In-reply-to: | <751717.27922.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Mailing-list: | contact users-help@xxxxxxxxxx; run by ezmlm |
| Thread-index: | AcgOwleIcf03g0qxR3eUD30CL+SlHgAlVevg |
| Thread-topic: | Java vs. C |
|
All,
I'm currently working on porting some C code over to
Java. The code opens a binary file, extracts the relevant data, and spits
out a .csv file. I'm getting some issues with the totals being off.
The code was originally written by an engineer, not a
programmer. This is the fourth such program I've ported, and haven't had
any real issues. For the most part, I just wrap the already-written C code
with some Java data structures, change the file i/o to use Java commands, and
I'm done. The program uses bit masking, bit shifting, and a whole host of
global variables.
My question is this: Are there any pitfalls that
you know of that I could be falling into with the C code that compiles as Java
code? I've never used C before, so this program is really the extent to
which I know C.
Thanks,
MDW - Military Data Warehouse Java Developer/Solution Architect Sogeti Consultant loren.hudson@xxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Tomorrow's meeting: JRuby, Chris Nelson |
|---|---|
| Next by Date: | Re: [cinjug-users] Java vs. C, Edward Sumerfield |
| Previous by Thread: | Tomorrow's meeting: JRuby, Chris Nelson |
| Next by Thread: | Re: [cinjug-users] Java vs. C, Edward Sumerfield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |