C++

A general-purpose programming language

Created by Iván Ledo

Is an object-oriented languaje

That is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes.


Down arrow

It's imperative

That means that uses statements that change a program's state. Imperative programming focuses on describing how a program operates.

It's generic

Is a style of computer programming in which algorithms are written in terms of types to-be-specified-later that are then instantiated when needed for specific types provided as parameters.


Up arrow

Many programs to program with

Turbo C++

Netbeans

Zinjai

Eclipse

Languaje bases

The C++ language has two main components: a direct mapping of hardware features provided primarily by the C subset, and zero-overhead abstractions based on those mappings.


Down arrow

Object storage

C++ supports four types of memory management: static storage duration objects, thread storage duration objects, automatic storage duration objects, and dynamic storage duration objects.

Operators

C++ provides more than 35 operators, covering basic arithmetic, bit manipulation, indirection, comparisons, logical operations and others.

Exception handling

Exception handling is used to communicate the existence of a runtime problem or error from where it was detected to where the issue can be handled. It permits this to be done in a uniform manner and separately from the main code, while detecting all errors.

Polymorphism

Polymorphism enables one common interface for many implementations, and for objects to act differently under different circumstances.

Templates

C++ supports function, class, alias and variable templates. Templates may be parameterized by types, compile-time constants, and other templates.


Up arrow

Program example

Finding a perfect number