Results 1 to 11 of 11

Thread: Java to C+

  1. #1
    Join Date
    May 2004
    Location
    Clueless....
    Posts
    1,112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java to C+

    I took a course in Java a while back, and now I'm encouraging a friend of mine to take it. However, he wants to take C+ to be like the rest of his classmates I guess . I still want to help him but they are two different languages.
    Does anyone know easy ways to convert Java to C+?

    For example: what would system.printline and string.length be in C+?

    Quote Originally Posted by Darth Lucxus View Post
    I shaved my pubic hair fully off a couple weeks back. Not something I want to experience again. I mean, the first day or two were alright, but when it started to grow back it was bullshit.

  2. #2
    Join Date
    Jan 2007
    Posts
    1,156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think it couldn't be anything other than hand-coded. I wouldn't say there's any reliable program that could convert Java to C++.

    If you have an understanding of Java, it shouldn't take too long to pick up the basics of C++.
    http://www.cprogramming.com/tutorial.html#c++tutorial

  3. #3
    Join Date
    May 2004
    Location
    Clueless....
    Posts
    1,112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by maca View Post
    I think it couldn't be anything other than hand-coded. I wouldn't say there's any reliable program that could convert Java to C++.

    If you have an understanding of Java, it shouldn't take too long to pick up the basics of C++.
    http://www.cprogramming.com/tutorial.html#c++tutorial
    Well not really a program, just a list of methods/mains that would correspond to Java. Thanks for the link, I think its pretty useful.

    BTW: Do you know any good compilers for C+?? I used JCreator for Java because Net Beans was annoying me.

    Quote Originally Posted by Darth Lucxus View Post
    I shaved my pubic hair fully off a couple weeks back. Not something I want to experience again. I mean, the first day or two were alright, but when it started to grow back it was bullshit.

  4. #4
    Join Date
    Jan 2007
    Posts
    1,156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Code::Blocks IDE with MINGW compiler
    http://www.codeblocks.org/
    Last edited by maca; 15th-March-2007 at 15:32.

  5. #5
    Join Date
    May 2004
    Location
    Clueless....
    Posts
    1,112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by maca View Post
    Code::Blocks IDE with MINGW compiler
    http://www.codeblocks.org/
    Thanks, I rep'd you already but you'll get another.

    Quote Originally Posted by Darth Lucxus View Post
    I shaved my pubic hair fully off a couple weeks back. Not something I want to experience again. I mean, the first day or two were alright, but when it started to grow back it was bullshit.

  6. #6
    Join Date
    Jan 2007
    Posts
    1,156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Vagabond View Post
    Thanks, I rep'd you already but you'll get another.
    Any time.

  7. #7
    Join Date
    Oct 2005
    Location
    RP
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    usually the questions were FROM C TO JAVA

    but from JAVA to C it shouldn't be too hard

    lots of stuff are similar to each other; making the jump shouldn't be a huge problem.

    usually if he knew C first, then it'd be easier to learn other language [not asm and other primitive languages such as cobol etc tho]

  8. #8
    Join Date
    May 2004
    Location
    Clueless....
    Posts
    1,112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I'll keep that in mind.

    PS: I sent you a PM + rep.

    Quote Originally Posted by Darth Lucxus View Post
    I shaved my pubic hair fully off a couple weeks back. Not something I want to experience again. I mean, the first day or two were alright, but when it started to grow back it was bullshit.

  9. #9
    Join Date
    Oct 2005
    Location
    RP
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    me? i did get 5 rep, no pm though,
    -ye, pm is turned on- :dontknow:

  10. #10
    Join Date
    May 2004
    Location
    Clueless....
    Posts
    1,112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Leerz25 View Post
    me? i did get 5 rep, no pm though,
    -ye, pm is turned on- :dontknow:
    Glad you got the rep; the forums have been acting screwy lately especially with the skins. It keeps changing.
    The pm was a question about Visual Basic, I was just wondering if it was easier than any other language.

    Quote Originally Posted by Darth Lucxus View Post
    I shaved my pubic hair fully off a couple weeks back. Not something I want to experience again. I mean, the first day or two were alright, but when it started to grow back it was bullshit.

  11. #11
    Join Date
    Oct 2005
    Location
    RP
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Glad you got the rep; the forums have been acting screwy lately especially with the skins. It keeps changing.
    The pm was a question about Visual Basic, I was just wondering if it was easier than any other language.
    eh? I don't seem to deserver that rep, anyhow

    easier, hmm as far as productivity is concerned, you can whip out a simple text program in just 5 minutes [full controls and gui]
    need not to bother with .res files like in C++
    so I'd say yes, it is easier compared with C++
    although, to get more things done, people would really prefer C since it's the standard for win32 apps. [including delphi]

    hasn't seen much vb6 programs in the commercial world.
    anyway, they say .net is the easiest, don't really bother tho, imo, .net is still vb haha!


    #statistics
    notepad program in vb would take only 50 lines and a few minutes in designing the gui

    notepad program on c/java would take 200+ lines and more headache crafting the gui 'of course if you use a gui maker for java, it would be easier]



    that's it

    Cheers
    -Leerz

Similar Threads

  1. Java Help!
    By Haldrie in forum Coders and Webmasters Corner
    Replies: 0
    Last Post: 2nd-March-2007, 13:26
  2. Can't remove java from my computer (or reinstall)
    By Str8Ba11a in forum Computer Corner
    Replies: 4
    Last Post: 27th-May-2005, 04:00
  3. Problem installing java
    By Str8Ba11a in forum Computer Corner
    Replies: 4
    Last Post: 4th-May-2005, 23:00
  4. Problem installing Java Compiler
    By Grim Reaper in forum Computer Corner
    Replies: 2
    Last Post: 20th-October-2003, 01:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About Us

We are the oldest retro gaming forum on the internet. The goal of our community is the complete preservation of all retro video games. Started in 2001 as EmuParadise Forums, our community has grown over the past 18 years into one of the biggest gaming platforms on the internet.

Social