Hi! I have such a situation: I know Visual Basic. But I want to begin to study a new laguage...but I don't know what to choose: Java 2 or C++ ???
So please tell me what to choose and why???
Printable View
Hi! I have such a situation: I know Visual Basic. But I want to begin to study a new laguage...but I don't know what to choose: Java 2 or C++ ???
So please tell me what to choose and why???
What do you want to do with the language?
Z.
hey, I was trying to decide on that too last summer, but chose to learn C++, b/c it is more beneficial later on.
In a way its good I started with C++, as java is now being thought (from a beginnger level) in my school :rolleyes:
If you want to start easy, maybe Java is better for you! :)
starting next year, the AP College Board's Computer Science A/B test will cover Java. This year is the last year for C++
I have pity...Quote:
Originally posted by jmiller
starting next year, the AP College Board's Computer Science A/B test will cover Java. This year is the last year for C++
Z.
I also started in VB.
Like Z said it depends on what you want from it, I'd say C++ is more complicated but much more versitile and faster. Java is easier to jump into, especially if you want GUI (Swing - yeah!, MFC - boo!). Right now I'm doing both languages at the same time, I find that they are similar enough that it doesn't trouble me to activly use both on and off in the same day.
Java, for there next release will have templates from C++, one of C++'s strong points. Also Sun's site has support for the language out the wahzoo. Seach for any class name and get all the methods in detial. Also Java is more platform independent and runs on the web real nice.
C++ with is use of class and templates can do some really nifty things, we're learning policys and traits, I mean man talk about a general algorithm. Anyway.
Java GUI / C++ Speed-Games...
Those are my two... no make it three ¢ents!
NOMAD
MFC has very little to do with C++ ;)
C++ on its own can't do a GUI, it needs OS support, whereas in Java its guaranteed in the languauge (along with threads, networking, etc.).
We're doing Java as well, I just find it very restrictive, that's all (compared to my current marital partner of C++ ;)).
Yeah, it always seems to me that the things I want to do in Java can't be done, or only with some complicated workaround (like getting a BufferedImage from some random generic Image). It's not a great language and the framework is worse IMO.