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

C Program to search an element in an array using Pointers

A separate function( search_function()) will be created where the array pointer will be declared and the searched element along with the size of an array …

C Program to find the sum of the digits of a number using recursion function

This C program calculates the sum of digits of a given number using recursion. Here’s a concise explanation: Function Definition: sumDigits(int n) This function calculates …

C program to find factorial of a numberĀ using Ternary operator with Recursion

Recursion refers to the function calling itself directly or in a cycle. Before we begin, you should have the knowledge of following in C Programming: …

C Program to Add Two Numbers Using Call by Reference

The program takes the two numbers from the user and passes the reference to the function where the sum is calculated. You may go through …

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 …

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 …