Saturday, May 22, 2010

What is C, C++, and Java?

My friend told me I should learn each by the order stated above. I have a few question before I start learnind.


1- Is the order my friend told me, correct?


2- I understand they are all languages, but are they all the same? For example, is C++ harder then C, but still the same language, just using like bigger words?!?!


3- Once I master all those languages, what can I do with that knowledge?


4- Where should I got to learn it..Should I get a book? Which one? Will it be hard to learn by myself?





Thanks, best answer=10 points

What is C, C++, and Java?
What are they? They are high-level programming languages.





a1) Order of learning? Doesn't really matter nowadays. C is used rarely nowadays, C++ has taken over pretty much. Java is like C++ with better syntax.





a2) No, they're not all the same. C++ is object oriented (where C is not), and Java is not quite as object-oriented as C++, but it is a bit more modern.





a3) You'll still have a bit more learning to go, such as Windows API, kernel level programming, 3D engine programming, and so on. Depends on your field of interest. But you'll need to learn a language first.





a4) Where? That's debatable. Some people learn better on their own, while others need some structure. I can't say one method is better than the other. There's lots of free resources on the net, try them all.
Reply:That's a lot of questions. First off, I learned C++ first, and there's no reason you would need to learn C first. They are similar in syntax, but completely unrelated languages. C++ is Object Oriented and C is functional. If you "master" those 3, you'll know more than I do as that takes years of experience, but for the sake of argument, you still can't do anything with that knowledge unless you have a degree. If you want to learn it on your own, (and yes, it will be hard) there are several free online tutorials to get the language basics down, and then I would move on to books. The SAMS learn it yourself books are pretty good for beginners. Good luck.
Reply:Java is a subset of C and looks like C++. To be an efficient OOP (Object Oriented Programming) programmer, learning C and C++ which will give you a great foundation to be a JAVA programmer. The SUN website has a lot of information that you can look at and read.


No comments:

Post a Comment