Dear friends,
I want learning c++, so can i learn directly and diffrent betweel c and c++
What is different between c and c++?
Hi Friend,
This is kiran kumar.G.(working on SAP).I will tell some of the differences between C and C++.
1. C is a procedural oriented language
C++ is a object oriented language(inheritence,polymorphism,abstra... features come in object oriented language)
Theory :If we want to use some variables in all functions in C,at that time u can redeclare that variable in functions that means u can redeclare the variable in C.where as in C++ this problem can be resolved by using INHERITENCE feature.
2. C does not support Exception Handling.
C++ support Exception Handling.
Theory: If u r executing ur C program if an error is raised, ur program will stop the execution of ur program.where as in C++ it does not stop the exection process due to exception handling feature.
3. C does not have Template class
C++ is having Template class
These are some of the differences b/w C and C++.
HAVE A NICE DAY..
Reply:You can learn C++ without ever having to look at C in any way.
The difference between the two is, C++ offers a larger toolbox to attack your problems than C does. But this does not affect the ability in using any of these languages to attack your problems.
Reply:C was the C++ predecessor. As it's name implies, alot of C remains in C++. Although not actually being more powerful than C, C++ allows the programmer to more easily manage and operate with Objects, using an OOP (Object Oriented Programming) concept.
Reply:C is the procedure oriented language while C++ is Object Oriented language. C++ was developed to overcome the problems of program organisation where computer program gets bigger.
You can directly learn C++ without any difficulty
Reply:A lot.
C++ supports classes, polymorphism, inheritance, operator overloading, etc. Check out Wikipedia
Reply:"C" is basically the same computer language as "C++."
C++ can be thought of as a more updated and modern version of the C computer language. The name C++ comes from one of the added features. The "++" is actually an increment operator (i.e. "i++" means to take the value of "i" and add 1 to it.)
Reply:The C and C++ programming languages are closely related. C++ grew out of C and is mostly a superset of the latter.
according to me learing c helps u alot to develop code in c++
as they resemble a lot!ALL THE BEST
Reply:The ++
sound cards
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment