C++ Introduction1 min read

C++ is a powerful general-purpose, case-sensitive, free-form programming language that supports object-oriented, procedural, and generic programming. It is a midlevel language as it comprises both low and high-level language features.

C++ programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs in Murray Hill, New Jersey. It was developed as an enhancement to the C language and originally named C with Classes but later it was renamed C++ in 1983.

C++ runs on a variety of platforms, such as Windows, Mac OS, and also in the various versions of the UNIX system. C++ can be used in various platforms for development purposes such as for the development of operating systems, browsers, games, etc.


Object-Oriented Programming

C++ supports object-oriented programming(OOPs) and hence stands on four major components and those are.

  • Inheritance
  • Polymorphism
  • Encapsulation
  • Abstraction

Standard Libraries of C++

C++ is consists of three major parts:

  • The first one is the core library which gives the building blocks of the programming, such as variables, data types, and literals, etc.
  • Second is the Standard library that gives a set of functions manipulating strings, files, etc.
  • The third one is The Standard Template Library (STL) that includes the set of methods manipulating data structure, etc.

What are the Features of C++ programming Language?

  1. Object-Oriented Programming (OOP)
  2. Simple
  3. Platform or Machine Dependent/Portable
  4. High-Level Language
  5. Multi-paradigm programming language
  6. Case Sensitive
  7. Compiler based
  8. Speed
  9. Rich in Library
  10. Memory Management
  11. Pointer and Recursion

Learn in detail about the features. Click Here


MORE

Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python

In this tutorial, we will write a program to find a pairs of elements from an array such that for the input [a,b,c,d,e,f,g] we will …
Read More

String Pattern Programs in C

In this tutorial, we will write various C pattern programs for String. Before that, you may go through the following topics in C. for loop …
Read More

Java Program to Find pair of Integers in Array whose sum is given Number

In this tutorial, we will write a program to find a pair of elements from an array whose sum equals a given number in java …
Read More

Program to Print Diamond Alphabet Patterns in C

In this tutorial, we will learn to write a C program to print Diamond patterns using alphabets/characters. However, in this tutorial, we will create a …
Read More

Half Diamond Pattern in C using Alphabets

In this tutorial, we will learn and code the half diamond alphabet patterns in C programming language. However, in this tutorial, we will create a …
Read More

Half Pyramid of Alphabets in C

In this tutorial, we will learn and code alphabet patterns in C programming language specifically the Half pyramid of alphabets in C programming. However, in …
Read More