What is the difference between those two programming languages? I've looked at both of them, and it seems they are basically the same, except C looked a little more complicated. I know that C++ has object oriented programming, but I'm not sure if that is a component of C. Is there anything that you can do with C++ that you can't do with C, and vice versa? I'm just thinking about learning one of them and I want to know which one I should try.
I dont know too much about the diffrences between the two languages other than C++ has more OOP (Object Oriented Programming). If you are going to learn C++, you should use C++.Net - which is a microsoft technology and developing program. I think they offer a free version of it on their site, just search around. C++ is a great language to learn and is more popular than C.
C++ is an enhanced version of the C language. C++ includes everything that is part of C and adds support for object-oriented programming (OOP). In addition, C++ also contains many improvements and features that make it a "better C", independent of object oriented programming. C++ is actually an extendible language since we can define new types in such a way that they act just like the predefined types which are part of the standard language.
If you just use C++ as a better C, you will not be using all of its power. Like any quality tool, C++ must be used the way it was designed to be used to exploit its richness. Some of the new features include encapsulation, inline function calls, overloading operators, inheritance and polymorphism which are not present in C scripting.
Yep, C++ is a superset of C langauge, not vice versa
After C, there came a language called C+, which was very soon replaced by C++, the ++ added to C, is actually the increment operator which is available in the C language. So, C++ in a way meant the next incremental version of C.
The basic structure of both the language remains the same, even Java follows the same basic syntax.
The main difference between C and C++ was ofcourse the Object-Oriented part :P
C++ is definatly the way to go, even if you don't use the more advanced features right away, atleast you'll get a feel for the language. Trust me cout<< is much easier than fprint... etc, lol. The real question here may be C++ or C#. There are few differences between these languages that are of extreme concern, but they each have there place. none-the-less good question kaabi!
EXCELLENT FIND SAMI!!!
and i must agree, i love the MI of C++, but i find myself cursing much more when i write then i do in Java, lol.
Currently in the process of learning Ruby... when i have time between classes. I don't mind knowing all the 'exploded whale' languages, but it's nice to know that someone.. someone who's opinion actually matters feels the same way i do about a couple languages
-Plan to read all the articles mention in this one as well, and i suggest the same for any programmer!
C++ is advanced version of c, the main difference exist in the programming style where c is an structured programming language
C++ is object oriented programming language, which supports data encapsulation, inheritance and many other features, which are absent in basic C language
i can share some of the differences between c and c++. c++ is mainly object oriented programming whereas C is procedure oriented programming. C++ lays emphasis on objects wheres C emphasises on functions. its better to learn C because C++ has come from C and most of the companies ask for C if u apply to any company as a software engineer