C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots of platform like Windows, Linux, Unix, Mac etc.
C++ is an efficient and powerful language and finds wide use in various GUI platforms, 3D graphics and real-time simulations. Because of the inclusion of rich function libraries, working in C++ becomes simpler and convenient than C. Being object-oriented programming like Java, C++ provides the support of inheritance, polymorphism, encapsulation, etc. Unlike C, C++ allows exception handling and function overloading. Bringing in the important topics under one roof, this tutorial to C++ is a very efficient and convenient way to learn C++ from scratch.
Introduction to C++
- C++ was developed by Bjarne Stroustrup in 1979 at Bell Labs.
- It is a general purpose programming language which supports procedural, object-oriented and generic programming.
- The main purpose of C++ was to make writing good programs easier and more pleasant for the individual programmer.
- It is a high-level programming language, but it includes many low-level facilities to manipulate the computer's memory.
- It is the first Object-oriented programming language and most popular after C language.
- C++ is a superset of C.
Features of C++
- C++ is a compiled, case-sensitive, free-form programming language.
- It is used to write device drivers and other softwares.
- It is used for teaching and research because of clean basic concepts.
- It supports object-oriented programming including four features such as encapsulation, data hiding, inheritance, polymorphism.
- An Apple Macintosh or Windows has indirectly used C++ because the primary user interface of these operating systems are written in C++.