?
Solved

Is there any program that will convert Java to C or C++?

Posted on 2003-02-27
12
Medium Priority
?
295 Views
Last Modified: 2010-03-31
On a Windows platform?
0
Comment
Question by:roopi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +4
12 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 8038234
Why would you want to do that?
0
 

Author Comment

by:roopi
ID: 8038246
to help me understand.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 8038257
I don't know of one, but would guess that the translation would not be very good even if there were one.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 2

Expert Comment

by:bkrahmer
ID: 8039453
Understand what, pray tell?  Java reads just like c++ to me, the first couple chapters of any java book explains the rest.
brian
0
 

Author Comment

by:roopi
ID: 8039458
so is that a NO?
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 8040238
Hi roopi,
imagine this: there's at least a GNU JAVA -> "exe" converter; you could disassemble the produce into ANSI C only to find out that you would never write it like that.
So, if you want to understand JAVA better, dig into the javac compiler(s) or improve your theoretical knowledge of the language and you'll never want to see C(++(#)) again.
;JOOP!
0
 
LVL 92

Accepted Solution

by:
objects earned 200 total points
ID: 8040483
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 8040835
As bkrahmer says, the language syntax is pretty similar so you shouldn't have too much problem understanding Java.

Where you might have more of a problem, especially if you've originally come through C as opposed to C++, is in the area of OOP. Java is built from the ground up on OOP principles, so it would be a good idea to read some material where examples are given and the engineering rationale is clearly explained.

Having said that, Java unfortunately does not force the programmer to use it in an OO way and you'll see plenty of examples of Java used in a procedural way, particularly on this site.
0
 

Expert Comment

by:CleanupPing
ID: 9059025
roopi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9677707
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept CEHJ's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TimYates
EE Cleanup Volunteer
0
 
LVL 92

Expert Comment

by:objects
ID: 9681836
CEHJ said he didn't know of one didn't he?
I posted a link to converter, what was wrong with that?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question