Introduction to C++ | C++ Programming


Girl drinking coffee with laptop


What is C++?

  • C++ is a statically-typed, free-form, (usually) compiled, multi-paradigm, intermediate-level general-purpose middle-level programming language.
  • C++ is based on C.
  • It was developed by Bjarne Stroustrup in 1979. 
  • Many of today's OS, system drivers, browsers and games use C++ as their core language.
  • Since it is an enhanced /extended version of C programming language, So C and C++ are often denoted together as C/C++.  

Why C++?

  • C++ is irreplaceable as it is there at the core of many software.
  • It can be used to learn the internal architecture of a computer.
  • C++ has great job opportunities and salary.

Some features of C++

  • C++ is fast
  • It is statically typed (or has a fixed syntax).
  • It is a multi-paradigm programming language, means we can solve a problem in C++ with more than one way.
  • It is Object-Oriented Programming Language, but less as compared to java.
  • It has the power of standard library (Standard template library-STL)

Where do we find C++

Adobe photoshop, AutoCAD, Bitcoin, the core of Amazon web services, the core of Windows, etc

Compilation in C++


C++ Compiler
Compilation in C++

  • First, a .cpp file goes into compiler
  • Then if code has no syntax error it is compiled by the compiler and is converted into .exe file.
  • The .exe file can be executed and run to see the result.

Post a Comment

0 Comments