Discussion in 'OT Technology' started by Claydus, Oct 6, 2003.
Java is owning my ass right now.
They're damn near the same thing.
C++ has extra complexities that java does not. Java is also platform independant. If java is kicking your ass, C++ won't be any better
maybe you should be a manager... then you can program in PowerPoint!
To continue on with what SLED said, C++ is a lot more challenging because all memory management must be done by YOU. While in Java, the JRE handles memory management. So when you create an object, you can forget about it in Java and its cool. Forget about it in C++ and you've got a crash waiting to happen (and the beauty is it may not happen right away). Same goes for arrays. You overflow your buffer and you just overwrote something in memory. Could have overwritten a part of your program or overwrote a part of the OS. I think C/C++ and Assembler produce some spectacular crashes...
One question to ask would be have you done any programming before? If so, was it VB? Is the Java class a college level course?
visual basic is easier
well shit i better get a tutor or something
I should qualify my first statement: When I said that C++ and Java are damn near the same thing, I was referring to layout and syntax. To the point that certain simple programs can be cut and pasted with only minor changes.
Put it this way, after finishing my 3rd C++ class in College which covered up to binary search trees and hash tables, I was able to start programming in Java just by writing C++ code and fixing what the compiler complained about.
Had to help my GF out with her Java homework.