C++
C++ (pronounced as cee plus plus, /ˈsiː plʌs plʌs/) is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation.
It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights.[5] C++ has also been found useful in many other contexts, with key strengths being software infrastructure and resource-constrained applications,[5] including desktop applications, servers (e.g. e-commerce, web search or SQL servers), and performance-critical applications (e.g. telephone switches or space probes).[6] C++ is a compiled language, with implementations of it available on many platforms and provided by various organizations, including the Free Software Foundation (FSF's GCC),LLVM, Microsoft, Intel and IBM.
C++ is standardized by the International Organization for Standardization (ISO), with the latest standard version ratified and published by ISO in December 2014 as ISO/IEC 14882:2014 (informally known as C++14).[7] The C++ programming language was initially standardized in 1998 as ISO/IEC 14882:1998, which was then amended by the C++03, ISO/IEC 14882:2003, standard. The current C++14 standard supersedes these and C++11, with new features and an enlarged standard library. Before the initial standardization in 1998, C++ was developed by Bjarne Stroustrup at Bell Labs since 1979, as an extension of the C language as he wanted an efficient and flexible language similar to C, which also provided high-level features for program organization.
Many other programming languages have been influenced by C++, includingC#, Java, and newer versions of C (after 1998).
source wikipedia
C++ is a high-level programming language developed by Bjarne Stroustrup at Bell Labs beginning in 1979.
The original title of C++ was "C with classes". While he was a graduate student, Stroustrup was frustrated that available languages offered him either fast performance or high-level features for program organization, but not both. This inspired him to write his own programming language.
He set out to create a programming language thatcompiles to lean, efficient code, but also provides high-level abstractions to better manage large development projects. The language was later named "C++", a tongue-in-cheek reference to ++, an operator in C that increments a value by one.
Since then, C++ has become one of the most widely-used languages in the world, especially in projects where performance comes at a premium. C++ continues to be updated and maintained; the current version is C++ 11, released in 2011.
Features
The syntax of C++ is largely inherited from C. It adds object-oriented features to its predecessor, such as classes, abstraction, encapsulation, inheritance, and polymorphism. It also provides functionality for function and operator overloading, generic programming facilities (such as the ability to create templates), andexception handling. C++ also features and a robust standard library (STL) of useful data structures, algorithms, and input/output facilities.
Hello, World! In C++
Here is an example "Hello, World!" program written in C++, using the I/O stream facility; part of the C++ STL:
#include <iostream> int main() { std::cout << "Hello, world!\n"; }
Comments
Post a Comment