| Plaupius said: C and C++ are related in such a way that C is a subset of C++, meaning that a program written in C should compile also using a C++ compiler. They share the same basic syntax with C++ having a number of additions over C, but most of programming IS basic syntax, so if you learn C++ you definitely learn C as well. For ease of learning, though, I would recommend Java. The basic syntax is still the same as C, but you don't have to worry about memory management, pointers etc. and you'll learn objective oriented programming. Just make sure you don't get stuck on Java, learn the basics there and then move on to C or C++ (or even objective-C if you'd like to try OS X or iPhone programming). Learning just Java will lead to some poor coding habits, so it's good to move to the C-family to see what is going on under the hood, so to speak. So, in a nutshell: Java, C++ and objective-C all have the same basic syntax that is based on C. |
Not true, you can write perfectly legitimate C programs which will not compile on a C++ compiler. That said, *most* C programs will compile with a C++ compiler.
For the OP, I'd suggest starting with something like C++ or Java or perhaps Python to get the basics of programming. If you are interested in a career however, I'd heavily suggest moving onto something lower level (C/C++ or Asmembly depending on how keen you are) for at least a small project to get a good understand of how things work under the hood. I'd also suggest picking up a book on computing algorithms (even if you are just sticking to it as a hobby). I've seen way too many "Java graduates" who can write code, but have no concept of what their code actually does, which leads to some attrocious code.
If you decide you are just in it as a hobby, feel free to stick with the hand holding langauges 









