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

Longest Absolute Path in File System Representation

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

4 days ago

Efficient Order Log Storage

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

3 weeks ago

Select a Random Element from a Stream

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

3 weeks ago

Estimate π Using Monte Carlo Method

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

1 month ago

Longest Substring with K Distinct Characters

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

1 month ago

Staircase Climbing Ways

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

1 month ago