Skip to main content

C++

C++

C++
ParadigmMulti-paradigmproceduralfunctionalobject-orientedgeneric[1]
Designed byBjarne Stroustrup
First appeared1983; 33 years ago
Stable releaseISO/IEC 14882:2014 / 15 December 2014; 18 months ago
Typing disciplineStaticnominativepartially inferred
Implementation languageC++
OSCross-platform
Filename extensions.cc .cpp .cxx .C .c++ .h .hh .hpp .hxx .h++
Websiteisocpp.org
Major implementations
LLVM ClangGCCMicrosoft Visual C++Embarcadero C++BuilderIntel C++ Compiler,IBM XL C++
Influenced by
CSimulaALGOL 68AdaCLUML
Influenced
Ada 95C99C#,[2] Chapel,[3] DJava,[4] LuaRustPythonPerlPHP
C++ (pronounced as cee plus plus/ˈs 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++ DESCRIPTION BY COMPUTERHOPE.COM
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

Popular posts from this blog

QBasic and its history

QBasic Not to be confused with  Quick Basic . QBasic Paradigm Procedural Developer Microsoft First appeared 1991 ; 25 years ago OS MS-DOS ,  Windows 95 ,  Windows 98 ,  Windows Me ,  PC DOS ,  OS/2 , eComStation License Part of the operating system (a variety of  closed-source  licenses) Website www .microsoft .com Influenced by QuickBASIC ,  GW-BASIC Influenced QB64 ,  Small Basic QBasic  ( Microsoft  Quick Beginners All purpose Symbolic Instruction Code ) is an  IDE  and  interpreter  for a variety of the  BASIC programming language  which is based on  QuickBASIC . Code entered into the IDE is compiled to an intermediate representation , and this  IR  is immediately interpreted on demand within the IDE. [1]  It can run under nearly all versions of  DOS  and  Windows , or through  DOSBox / DOSEMU , on  Linux  and  FreeBSD . [2]  For its time, QBasic provided a state-of-the-art IDE, including a  debugger  with features such as on-the-fly expression evaluation and

Top 10 keyboard shortcuts everyone should know

Top 10 keyboard shortcuts everyone should know Using keyboard shortcuts can greatly increase your productivity, reduce repetitive strain, and help keep you focused. For example, to copy text, you can highlight text and press the Ctrl + C shortcut. The shortcut is faster than moving your hands from the keyboard, highlighting with the mouse, choosing copy from the file menu, and then returning to the keyboard. Below are the top 10 keyboard shortcuts we recommend everyone memorize and use. Ctrl + C or Ctrl + Insert and Ctrl + X Both  Ctrl + C  and  Ctrl +  Insert  will  copy  the  highlighted  text or selected item. If you want to  cut  instead of copy press  Ctrl + X . Apple  computer users can substitute the Ctrl key for the  command (cmd) key  on their computers. For example, pressing  Cmd + C  copies the highlighted text. Ctrl + V or Shift + Insert Both the  Ctrl + V  and  Shift + Insert  will  paste  the text or object that's in the clipboard . For Apple computer

computer network

A network may refer to any of the following: 1. A network is a collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another to allow the sharing of data. An excellent example of a network is the Internet, which connects millions of people all over the world. Below is an example image of a home network with multiple computers and other network devices all connected to each other and the Internet. Computer network Examples of network devices *Desktop computers, laptops, mainframes, and servers *Consoles and thin clients *Firewalls *Bridges *Repeaters *Network Interface cards *Switches, hubs, modems, and routers *Smartphones and tablets *Webcams *Network topologies and types of networks The term network topology describes the relationship of connected devices in terms of a geometric graph. Devices are represented as vertices, and their connections are represented as edges on the graph. It describes