Top: Computers: Programming: Languages: C Plus Plus

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;


 All text is available under the terms of the GNU Free Documentation License. (See Copyright Policy for details.) 
© Open-Site Foundation, Inc.
Hosted by Android Technologies, Inc. the medical robotics news source.
Visit our sister sites dmoz.org | mozilla.org | chefmoz.org | musicmoz.org