Saturday, July 16, 2016

Learn C and C++

C and C++:

The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.

C:

C was developed by Dennis Ritchie between 1969 and 1973 at AT&T Bell Labs. When compared to C++, C is a subset of C++. C supports procedural programming paradigm for code development. In C (because it is a procedural programming language), data and functions are separate and free entities.
C++:

C++ was developed by Bjarne Stroustrup in 1979 with C++'s predecessor "C with Classes". C++ is a superset of C. C++ can run most of C code while C cannot run C++ code. C++ supports both procedural and object oriented programming paradigms; therefore C++ is also called a hybrid language. In C++ (when it is used as object oriented programming language), data and functions are encapsulated together in form of an object. For creating objects class provides a blueprint of structure of the object.


Top 5 Online C and C++ Guides:
  1. http://www.tutorialspoint.com/listtutorials/c-and-c++/1
  2. http://en.cppreference.com/w/
  3. http://www.learncpp.com/
  4. http://www.programiz.com/
  5. http://www.cprogramming.com/

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.