Question:
Would learning C be the first step to learn C++?
knowingneeded
2011-09-18 17:33:19 UTC
I've already learned Photoshop and maya (im certified but not college). Now I am looking at programming. Would Learning C be the first step to learn c++? I've heard that c is included in c++ but I wasn't sure if it was LITERALLY part of it.
Three answers:
merrillbalan
2011-09-18 17:40:40 UTC
Yes would be the answer. but i just went ahead and take c++ without c. and I am not doing so bad. it depends to your plan. some might say take c first. but if you want to take c++ then just take it.

unless you need both if you are trying to get your bsdegree.



tgere are differences from c and c++ but same logic. for example to show letters or commands c++ uses cout command but c uses printf or something but it does the same.
Angelo
2011-09-19 00:46:38 UTC
C is the precursor to C++. In college you usually learn C first, because it is closer to ASSM than C++ or JAVA. While C++ isn't an interpreted language like java, running inside a VM, it is object-oriented, which makes it further removed from how the computer actually operates. This is important because when programming you want to make sure that the scope or the program-flow does not become so convoluted that it in-and-of-itelf hinders your bug-fixing by nature of its complexity.



Simply, if you don't have experience programming in general, (not with scripting languages) I recommend learning C first. You don't need to get into the real annoying aspects even, such as null pointers and whatnot, but it's a good way to learn that ultimately computers are procedural in nature. Really understanding this will help you write code efficiently in any language.



However, if you really dig-in to learning C++, C is most certainly NOT a prerequisite. If anything, studying Java will help you learn C++ more than C will, imo.
flyer_rt_52
2011-09-19 00:37:52 UTC
I'd say jump right into C++. The big thing to learn about programming is the basics. C++ is object oriented, if you can pick up on C++ all other languages would be a breeze. It has been for me, I learned C++ first and once I got the basics down other languages have been easy. A lot of things you do in a language is done in other languages, just done a different way.



Good luck


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...