C++ introduction.

 



Object-Oriented support helps C++ to make maintainable and extensible programs. Since C++ is an attempt to add object-oriented features (plus other improvements) to C, earlier it was called as “C with Objects”. Since there is no additional processing overhead like this in C++, it is blazing fast.


Pointer and direct Memory-Access: C++ provides pointer support which aids users to directly manipulate storage address. Since, it is a compiled language, and also hugely procedural. The basic syntax and code structure of both C and C++ are the same. 


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


Simple: It is a simple language in the sense that programs can be broken down into logical units and parts, has a rich library support and a variety of data-types.


Machine Independent but Platform Dependent: A C++ executable is not platform-independent (compiled programs on Linux won’t run on Windows), however they are machine independent.


Mid-level language: It is a mid-level language as we can do both systems-programming (drivers, kernels, networking etc.) and build large-scale user applications (Media Players, Photoshop, Game Engines etc.)


Rich library support: Has a rich library support (Both standard ~ built-in data structures, algorithms etc.) as well 3rd party libraries (e.g. Procedural code becomes difficult to maintain as code-size grows.


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


. Large-scale applications can be built. As the language developed, Stroustrup named it as C++ in 1983.


What is C++?


C++ is a cross-platform language that can be used to create high-performance applications.


C++ was developed by Bjarne Stroustrup, as an extension to the C language.


C++ gives programmers a high level of control over system resources and memory.


The language was updated 3 major times in 2011, 2014, and 2017 to C++11, C++14, and C++17.


Why Use C++


C++ is one of the world's most popular programming languages.


C++ can be found in today's operating systems, Graphical User Interfaces, and embedded systems.


C++ is an object-oriented programming language which gives a clear structure to programs and allows code to be reused, lowering development costs.


C++ is portable and can be used to develop applications that can be adapted to multiple platforms.


C++ is fun and easy to learn!


As C++ is close to C# and Java, it makes it easy for programmers to switch to C++ or vice versa


Introduction to C++ Programming Language


C++ is a general-purpose programming language that was developed as an enhancement of the C language to include object-oriented paradigm. Boost libraries) for fast and rapid development.


Speed of execution: C++ programs excel in execution speed. i.e. which slow the execution of the program overall. This helps in doing low-level programming (where one might need to have explicit control on the storage of variables).


Object-Oriented: One of the strongest points of the language which sets it apart from C.

C++ was developed by Bjarne Stroustrup at Bell Laboratories over a period starting in 1979. Newer languages have extra in-built default features such as garbage-collection, dynamic typing etc. It is an imperative and a compiled language


C++ is a middle-level language rendering it the advantage of programming low-level (drivers, kernels) and even higher-level applications (games, GUI, desktop apps etc.).

The language has expanded significantly over time, and modern C++ now has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation. C++ (/ˌsiːˌplʌsˈplʌs/) is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". It is almost always implemented as a compiled language, and many vendors provide C++ compilers, including the Free Software Foundation, LLVM, Microsoft, Intel, Oracle, and IBM, so it is available on many platforms.[10]


C++

ISO C++ Logo.svg

Logo endorsed by Standard C++

Paradigms

Multi-paradigm: procedural, functional, object-oriented, generic, modular

Family

C

Designed by

Bjarne Stroustrup

Developer

ISO/IEC JTC1 (Joint Technical Committee 1) / SC22 (Subcommittee 22) / WG21 (Working Group 21)

First appeared

1985; 37 years ago

Stable release

C++20 (ISO/IEC 14882:2020) / 15 December 2020; 14 months ago

Preview release

C++23 / 23 October 2021; 4 months ago

Typing discipline

Static, nominative, partially inferred

OS

Cross-platform

Filename extensions

.C, .cc, .cpp, .cxx, .c++, .h, .H, .hh, .hpp, .hxx, .h++.


Comments