Thursday, July 9, 2009

I am learning 'c' program whether it is necessary to learn c++.?

whether i can learn c++ from c or i should learn c++ seperately.

I am learning 'c' program whether it is necessary to learn c++.?
C++ is a superset of C. To be a good C++ programmer you need to learn a new way of thinking; the object oriented way. C is procedural language. Some say it you'd better off if you learn C++ without knowing C. That way you learn the OO concept right from the beginning. Once you're good at C, then you will think the procedural way.





Try to learn the concept of OO. Here you will need to spend some times to really understand what is class, method, friend, constructor, etc.
Reply:if u r learning c , learn it . then you can go to c++. if you try to go simultaneously, you will get more confused.
Reply:C++ builds on top of C. C is the foundation and then with C++ you learn some of the shortcuts that C cannot do. IMHO you should learn both languages.
Reply:The purpose of C++ is to basically make chunks of data more manageable and reusable. (It uses something called "object orientated programming")





If you are coding a large project, C++ is great. Both languages are similar but you might as well learn C++'s new features, it makes some programming easier


No comments:

Post a Comment