This website includes Education Information like a programming language, job interview question, general knowledge.mathematics

Education log

PageNavi Results No.

Ads

Tuesday, May 12, 2020

introduction history cpp programming


introduction  c++  programming:

C++ is a general-purpose programming language that was created as an enhancement of the C language to include object-oriented worldview. It is an objective and a compiled language.

 

C++ is a center level language rendering it the benefit of programming low-level (drivers, bits) and significantly more elevated level applications (games, GUI, work area applications, etc.). The basic grammar and code structure of both C and C++ are the equivalent.

Some of the features & key-points to note about the programming language is as follows:

Machine Independent yet Platform Dependent: A C++ executable isn't stage independent (compiled programs on Linux won't run on Windows), anyway, they are machine-independent.

 

Mid-level language: It is a mid-level language as we can do the two frameworks programming (drivers, portions, organizing, etc.) and assemble huge scale client applications (Media Players, Photoshop, Game Engines etc.)

 

Rich library support: Has rich library support (Both standard ~ worked in data structures, calculations, etc.) also outsider libraries (for example Lift libraries) for a quick and fast turn of events.

 

Speed of execution: C++ programs excel in execution speed. Since it is a compiled language, and furthermore colossally procedural. More current languages have extra in-assembled default highlights such as garbage-collection, dynamic composing, etc. which moderate the execution of the program generally speaking. Since there is no extra processing overhead like this in C++, it is bursting quick.

 

Pointer and direct Memory-Access: C++ gives pointer support which helps clients to directly control stockpiling addresses. This aide in doing low-level programming (where one may need to have explicit control over the capacity of factors).

 

Object-Oriented: One of the most grounded purposes of the language which separates it from C. Object-Oriented support encourages C++ to make viable and extensible projects. for example Enormous scale applications ca be assembled. Procedural code becomes difficult to keep up as code-size develops.

             Compiled Language: C++ is a compiled language, contributing to its speed.

 

 

C++ is a powerful general-purpose programming language. It can be used to develop operating systems, browsers, games, and so on. C++ supports different ways of programming like procedural, object-oriented, functional, and so on. This makes C++ powerful as well as flexible.

 

History of cpp programming:

Machine Independent yet Platform Dependent: A C++ executable isn't stage independent (compiled programs on Linux won't run on Windows), anyway, they are machine-independent.

 

Mid-level language: It is a mid-level language as we can do the two frameworks programming (drivers, portions, organizing, etc.) and assemble huge scale client applications (Media Players, Photoshop, Game Engines etc.)

 

Rich library support: Has rich library support (Both standard ~ worked in data structures, calculations, etc.) also an outsider libraries (for example Lift libraries) for a quick and fast turn of events.

 

Speed of execution: C++ programs excel in execution speed. Since it is a compiled language, and furthermore colossally procedural. More current languages have extra in-assembled default highlights such as garbage-collection, dynamic composing, etc. which moderate the execution of the program generally speaking. Since there is no extra processing overhead like this in C++, it is bursting quick.

 

Pointer and direct Memory-Access: C++ gives pointer support which helps clients to directly control stockpiling addresses. This aide in doing low-level programming (where one may need to have explicit control over the capacity of factors).

 

Object-Oriented: One of the most grounded purposes of a language that separates it from C. Object-Oriented support encourages C++ to make viable and extensible projects. for example Enormous scale applications can be assembled. Procedural code becomes difficult to keep up as code-size develops.

In 1990, The Annotated C++ Reference Manual was released. The same year, Borland's Turbo C++ compiler would be released as a commercial product. Turbo C++ added a plethora of additional libraries which would have a considerable impact on C++'s development. Although Turbo C++'s last stable release was in 2006, the compiler is still widely used.

 

Cpp hello world example:

// Your First C++ Program

 

#include <iostream>

 

int main() {

    std::cout << "Hello World!";

    return 0;

}


No comments:

Post a Comment