Jump to content
xisto Community
Sign in to follow this  
iGuest

convert .java to .c

Recommended Posts

im pretty sure i've seen things that do this before... have you actually tried looking for one because it shouldn't be too hard to convert simple programs seeing as how java and c at syntaxically very similar.. but if you get one to work with complex programs you will very likely become rich. a lot of java programmers would enjoy the performance gains from c without having to learn c or recode anything

Share this post


Link to post
Share on other sites
Replying to mortalmattGcj can do this. I'm not sure if there's a windows version, though... On the other hand I'm fairly sure that even if you're running it on a linux machine you can have it compile into windows format.-reply by Oliver

Share this post


Link to post
Share on other sites
convertconvert .java to .c

 class overloadDemo{Void test(){System.Out.Println("No parameter");}Void test(inta,intb){System.Out.Println("a and b:"+a+" "+B);}Void test(double a){System.Out.Println("Inside test(double) a:" +a);}}Class overload{Public static void main(String args[]){OverloadDemo ob=new overloadDemo();Int I=88;Ob.Test();Ob.Test(10,20);Ob.Test(I);Ob.Test(123.2);}}

-reply by ankit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.