Courses

Introduction


C++ is a cross-platform language that can be used to create high-performance applications.


What is C++ Language ?

C++ is a cross-platform language that can be used to create high-performance applications. C++ was developed by Bjarne Stroustrup, as an extension to the C language. C++ gives programmers a high level of control over system resources and memory.

What is C++ language used for?

C++ is a powerful general-purpose programming language. It can be used to develop operating systems, browsers, games, and so on. C++ supports different ways of programming like procedural, object-oriented, functional, and so on.

What is difference between C and C++ language?

As we know both C and C++ are programming languages and used for application development. The main difference between both these languages is C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object-oriented programming languages.

What is C++ used for 2020?

C++ is a powerful, efficient and fast language. It is often used to develop game engines, games, and desktop apps to learn C++ in 2020. ... ... It has a huge code-base, is still being used widely, its syntax is similar to a wide range of languages (C-style syntax is in Java, Python, Perl, Visual Basic, bash, ….).

 

Features of C++

1) Better memory management – you can dynamically allocate memory during runtime using new and delete operator in C++ to have better memory management.

2) Object oriented – C++ supports object oriented programming features, which means we can use the popular OOPs concepts such as Abstraction, Inheritance, Encapsulation and Inheritance in C++ programs, these features make writing code in C++ a lot easier. We will cover them in detail in this tutorial series.

3) Portable – Most of C++ compilers supports ANSI standards that makes C++ portable because the code you write on one operating system can be run on other Operating system without making any change. We cannot say C++ a fully platform independent language as certain things in C++ are not portable, such as drawing graphics on a screen, since standard C++ has no graphics or GUI API.

4) Structured programming language – We have functions in C++, which makes easier to break a problem into small blocks of code and structure the program in such a way so that it improves readability and reusability.

5) Exception handling: Just like Java we can do exception handling in C++ which makes it easier to identify and handle the exceptions.

6) Simple – Last but not least, just like C, it is easier to write a program in C++. Once you get familiar with the syntax of C++ programming language, it becomes a lot easier to code in C++.