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

Find Intersection of Two Singly Linked Lists

You are given two singly linked lists that intersect at some node. Your task is…

2 months ago

Minimum Cost to Paint Houses with K Colors

A builder plans to construct N houses in a row, where each house can be…

2 months ago

Longest Absolute Path in File System Representation

Find the length of the longest absolute path to a file within the abstracted file…

3 months ago

Efficient Order Log Storage

You manage an e-commerce website and need to keep track of the last N order…

3 months ago

Select a Random Element from a Stream

You are given a stream of elements that is too large to fit into memory.…

3 months ago

Estimate π Using Monte Carlo Method

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

4 months ago