Java or C++
Results 1 to 9 of 9

Thread: Java or C++

  1. #1
    Senior Member
    Join Date
    May 2003
    Posts
    226

    Arrow Java or C++

    i would like to take up a programming lanaguage, i did a search... can't really tell the difference between Java and C++. Anyone can help

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Java is (should) be platform independent. It's binary and source compatible. So the same Java applet will run on un*x/windows/whatever.

    A C++ program can be made platform independent but then you must use only the standard C++ libraries. Even then it's only source compatible and not binary compatible. Meaning you need to recompile your program for every platform you want to run it on.


    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    8
    c++ is pointers which is not present in java


    But by using java we can do a lot of things graphically ,they r really cool

    applets,Rmi,Corba and all those stuff

    r really cool


    u enjoy working in java
    I am different but not indifferent
    http://www.AntiOnline.com/sig.php?imageid=382

  4. #4
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534

    write once compile evrywhere VS compile once run evrywhere

    It's a question of

    Compile once and run evrywhere
    vs
    Write once compile evrywhere

    Usualy compiled C++ is a lot more memmory and processor efficient then Java..

    But on the otherhand Java applets are easier to install (and run) for the end user,
    unless you plan on providing compiled binaries for evry system..

    so it's a question of taste..

    What kind of stuff do you want to write.. how much hardware access do you need etc..

    If you learn C/C++ the switch to Java isn't realy hard, a lot of stuff is completly interchangeable..

    <edit type="add">
    BTW this is not the forum for this thread...

    the tutorials forum is for posting tutorials written by yourself,
    not for questions
    </edit>
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  5. #5
    Senior Member
    Join Date
    May 2003
    Posts
    226
    sorry i post in the wrong forum.

    Hmm.. i have another question the programs used on windows are normally programme in c++/vb why it is so?

  6. #6
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534
    Well VisualBasic is a realy easy language and allows for quick interface design for programs with minimal functions..

    C++ is the language windows itself is written in.. (also most unixs, macos and linux are written in c/c++)

    C++ is a realy powerfull language and THE choice for writing any real program..
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  7. #7
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    **Thread moved from Tutorials to General Chit Chat**
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  8. #8
    Senior Member
    Join Date
    May 2003
    Posts
    226
    java is commonly found on webpages as security logins and applets... other than this i don't find jaav really useful

  9. #9
    Junior Member
    Join Date
    Jun 2003
    Posts
    13
    Both Java and C++ are both nice languages, but C++ of course compiles to native code.

Posting Permissions

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