• Register

Recent posts tagged operator

29 3 2 min.
In ECMAScript, formally known as javascript standard, '==’ and '===’ both are considered as comparison operator. if we concern about just comparison of two variables the we have to deal with '==’ operator otherwise if th...
posted Jun 4 mhfaisal 262 points
0 0 3 min.
Python is a high level and most popular programming language nowadays. So in this tutorial, we will discuss about difference between two operators in Python. If you are a new coder in Python then, don’t worry. On this page, you will learn all a...
posted Nov 6, 2020 Prasandeep Gautam 190 points
13 0 2 min.
Operator overloading provides an inherent interface to the users of our class, making it possible to work equally well with classes and built-in data types. Operator overloading in C++ allows operators to have user-defined meanings on user defined ty...
posted Oct 14, 2020 Lalit Kumar 1,240 points
0 0 2 min.
* = Is the assignment operator. This is useful shortcuts and one as when writing any old application to utilize your time well be appreciated. (Check the example 1)Example 1:int num = 1;num * = 5;// same thing asnum = num * 5;Now something else about...
posted Oct 9, 2020 Hasnain_khan 100 points
0 0 1 min.
We can store ‘Kodlogs’ like data in strings. Strings contain letters, numbers, symbols and all other letters. String can be either in single quotes or double quotes. This article discusses the method to check if a string is empty or ...
posted Oct 2, 2020 Lalit Kumar 1,240 points
0 0 1 min.
Symbols that can perform operations on values or variables are known as operators. For example +, -, =, %, << etc. Cout operator (<<) is used to print the output to the screen. Operands are the values or the variable on which operators pe...
posted Sep 15, 2020 Lalit Kumar 1,240 points
0 0 1 min.
The -> symbol like is called arrow operator which is formed by using minus sign followed by greater than sign. The operator is used in C++ to reference individual members of classes, structures or unions. The dot operator is applied to denote the ...
posted Sep 6, 2020 Lalit Kumar 1,240 points
0 0 2 min.
The binary error occurs when the programmer forgets to include a string which is a sequence of characters, variables, or symbols. When a string is not used, the compiler indirectly imports parts of a string into its iostream which renders the process...
posted Aug 14, 2020 Lalit Kumar 1,240 points
0 0 2 min.
In C++, we often need to delete something that can be any data or content {elements} of a variable. To delete something. Programmers use the delete() function and delete[] operator. Both of them seem to be similar, but there is a difference between t...
posted Aug 11, 2020 Lalit Kumar 1,240 points
0 0 1 min.
 Assignment operators are used to assigning values by using the desired operator to a variable, property, event, or indexer elements in programming languages. Assignment operators can also be used for logical operations such as bitwise logical o...
posted Jul 16, 2020 Farkhanda Athar 3,890 points
0 0 2 min.
We often get errors in programming. Let me break down the error “not match for operator ‘=’” the error is trying to tell us that the operands we used around the operator are miss matched. Yes! I know it seems to be bullshit bu...
posted Jul 15, 2020 Lalit Kumar 1,240 points
0 0 3 min.
Unifoirm_int_distribution is a class template. uniform _int_distribution or you can say random number distribution, produces an integer value by using the uniform discrete distribution which is this function: This distribution produces random in...
posted Jul 6, 2020 Lalit Kumar 1,240 points
0 0 3 min.
Having two strings declared, they can be different or the same. If the characters contained by the strings are equal then they are the same otherwise they are not. And this is the approach we will be using to compare two strings.MethodsWe can compare...
posted Jun 14, 2020 Lalit Kumar 1,240 points
0 0 2 min.
In this article, we are going to learn how to compare two strings in C++?The word “compare” suggests to us what to do itself. We will be checking if the strings are equal or not or greater or smaller. We can do this by two distinct method...
posted May 10, 2020 Lalit Kumar 1,240 points
14 0 1 min.
 If you ever try to add two comparisons in an if statement then there is a chance that you may have faced an error named “expression must be a modifiable lvalue”. Luckily this is a compile-time error otherwise it can cause really dif...
posted Apr 25, 2020 Lalit Kumar 1,240 points
0 0 2 min.
No operator matches these operandsProblem and CauseToday we are going to discuss the error “no operator matches these operands”. The cause behind these errors is common but the error isn’t. This error is caused by the availability o...
posted Apr 22, 2020 Lalit Kumar 1,240 points
0 0 2 min.
lvalue required as left operand of assignment c++In this article, we will discuss the error “lvalue required as left operand of assignment”The left side value of the assignment operator is known as an lvalue. Similarly, the right-side val...
posted Apr 17, 2020 Lalit Kumar 1,240 points
To see more, click for the full list of questions or popular tags.