Categories: C++

Introduction to C++

What is C++?

C++ developed by Bjarne Stroustrup at bell labs is a general-purpose programming language developed to enhance the C language to include an object-oriented paradigm. C++ is a middle-level language, encapsulating both high and low-level language features.

Features & key-points about C++ programming language:
  • Simple
  • Machine Independent but Platform Dependent
  • Mid-level language
  • Rich library support
  • Speed of execution
  • Pointer and direct Memory-Access
  • Object-Oriented
  • Compiled Language
Applications of C++:
  • Operating Systems & Systems Programming. e.g. Linux-based OS (Ubuntu etc.)
  • Browsers (Chrome & Firefox)
  • Graphics & Game engines (Photoshop, Blender, Unreal-Engine)
  • Database Engines (MySQL, MongoDB, Redis, etc.)
  • Cloud/Distributed Systems
Benefits of C++ over C Language:
  • C++ is a highly portable language and is often the language of choice for multi-device, multi-platform app development.
  • C++ is an object-oriented programming language and includes classes, inheritance, polymorphism, data abstraction, and encapsulation.
  • C++ has a rich function library.
  • C++ allows exception handling and function overloading, which are not possible in C.
  • C++ is a powerful, efficient, and fast language. It finds a wide range of applications – from GUI applications to 3D graphics for games to real-time mathematical simulations.

Note: also read about the Layout Managers in Java

Follow Me

If you like my post, please follow me to read my latest post on programming and technology.

https://www.instagram.com/coderz.py/

https://www.facebook.com/coderz.py

Recent Posts

Estimate π Using Monte Carlo Method

The formula for the area of a circle is given by πr². Use the Monte…

5 days ago

Longest Substring with K Distinct Characters

Given an integer k and a string s, write a function to determine the length…

6 days ago

Staircase Climbing Ways

There is a staircase with N steps, and you can ascend either 1 step or…

2 weeks ago

Autocomplete System Implementation

Build an autocomplete system that, given a query string s and a set of possible…

2 weeks ago

Job Scheduler Implementation

Design a job scheduler that accepts a function f and an integer n. The scheduler…

2 weeks ago

Largest Sum of Non-Adjacent Numbers

Problem Statement (Asked By Airbnb) Given a list of integers, write a function to compute…

2 weeks ago