C++ is the type of Object-Oriented Programming

OOP stands for Object-Oriented Programming. Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions. Object oriented programming languages are various but the most popular ones are class-based. Languages used in Procedural Programming: FORTRAN, ALGOL, COBOL, BASIC, Pascal and C. Languages… Read More »

Features Introduced in C++ 14

C++ 14 was planned as a minor release to complete the work that produced the C++11 standard, with the aim of becoming a cleaner, simpler, and faster language. Improvements in C++ 14 are “deliberately less” compared to C++ 11, says C++ creator Bjarne Stroustrup. 1. Binary Literals : Binary literals provide a convenient way to represent a base-2… Read More »

Why Learn C++?

C++ is known to be a very powerful language. It is often used to develop game engines, games, and desktop apps. Many AAA title video games are built with C++. Students and working professionals should learn the C++ language to become great Software Engineer. These are top reasons to learn C++. It’s easy for a coding beginner to… Read More »

Similarities between Java and C++

Java and C++ are the two most popular programming languages. Although they have many differences, there are quite a lot of similarities between them. Let us look into the similarities between Java and C++. 1. Comments Comments are same in C++ and Java. Single line comments are done by // and multiple line comments are done by /*…..*/… Read More »

Messages, Aggregation and Abstract classes in OOPS

1. Message Message in OOPS refers to data used during interaction of different objects. The objects interact with each other by passing messages(data). To interact with each other objects do not need to know anything about each other. They just need to know the type of data(message) accepted and the type of data(message) returned by the other object.… Read More »

Multiplication of two numbers in C++

In this article, we have discussed various methods to multiply two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: 30 Method-2 : With user Inputs Output: Output depends on user inputs, that will be multiplication of both numbers. Method-3 : With class Output: Output depends on user inputs,… Read More »

Division of two numbers in C++

In this article, we have discussed various methods to divide two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: 2 Method-2 : With user Inputs Output: Output depends on user inputs, that will be division of both numbers. Method-3 : With class Output: Output depends on user inputs,… Read More »

Subtraction of two numbers in C++

In this article, we have discussed various methods to subtract two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: -1 Method-2 : With user Inputs Output: Output depends on user inputs, that will be subtraction of both numbers. Method-3 : With class Output: Output depends on user inputs,… Read More »

Addition of two numbers in C++

In this article, we have discussed various methods to add two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: 11 Method-2 : With user Inputs Output: Output depends on user inputs, that will be sum of both numbers. Method-3 : With class Output: Output depends on user inputs,… Read More »