Tuesday, July 14, 2009

Is there any purpose to learn the C language before C++ ?

Like to learn a little simple programming so I can talk with my son about it. What is a good free complier for C language? C++? Should I study C before C++ or are they similar?





Thanks,





John

Is there any purpose to learn the C language before C++ ?
I learned C language before C++ and it helped me to grasp the concept.





C++ is basically C but object orientated, if you want to get a better understanding of the language before you get into C++ you may want to just go through C, you don't really have to learn it 100%.





Also if you learn C first, then go onto C++ you'll understand the difference between the two languages and how Object orientated programming has evolved.





Basically if you are just doing this for a hobby, learn C first to get a better understanding, otherwise if you want to learn it in a hurry and you not grasping C++, learn C, otherwise just go over to C++.





Otherwise I can't really think of any other advantages.
Reply:C is a procedure oriented language and C++ is an Object Oriented language.


In my opinion, if u make ur self comfartable with C i.e. when u learn how to solve the problems using procedural approach.


It will be easier for u to learn C++ as in C++ u will learn how to implement object oriented approach and u can do better in both approaches.
Reply:Dev-C or Putty. Uggg, I just got done w/ a C programming course. It is interesting but very confusing at times. C and C++ are similar and C is rarely used but it couldn't hurt to start there. Once you learn C, C++ should be a breeze. The only difference is that C++ is C on steriods.(:
Reply:They are very much similar. I would skip C language if I were you. But it won't hurt if you get to learn more languages.
Reply:yes it is neccesary


No comments:

Post a Comment