EZ-Pedia

The Easy to use OPEN encyclopedia

Google
 
Pages


History :-


C++ was developed by Dr. Bjarne Stroustrup at AT&T Bell Labs in New Jersey. It was originally called 'C with Classes' and was derived as an object-oriented alternative to C. C++ gradually gained popularity, and is now rightly regarded as the mother of all programming languages. C++ was standardized in February 1998. The C# language, pronounced "C sharp", is considered by some to be the successor to C++. However, C# has many Java like traits and like Java frees the programmer from having to explicitly manage memory like C++ does.








Paradigm :-


In a generic sense it defines a way of thinking. In the programming sense, it specifies how your program is structured and developed. The two most common programming paradigms are,



  • Procedural : it divides the whole program into procedures or functions which are nothing but a set of logically grouped statements. The most familiar programming languages that use this paradigm are C and Pascal.

  • Object Oriented : in this paradigm, the attributes and behaviour of an object are encapsulated together, to closely resemble real life models. The most familiar programming languages that use this paradigm are C++ and Java.





The basic data types in C++ include - int, char, and float.


Examples :-


int num=10;
char ch='y';
float no=2.7;

Open Site - Encyclopedia Project

Open Site - Become an Editor