Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > C++ > Operators


10 of 10     Previous     Next
Using -- and ++ Operators
by Octavia Anghel
Language: C++, Expertise: Beginner — Learn why you should try to use only unary operators for incrementing and decrementing variables.
Use Comparison Operators in SQL to Remove/Return Columns with Null Values
by Srinath MS
When you use the comparison operators in SQL with the Where clause, you can remove the columns with null values.
Using the Triple Equals Sign Operator (===) to Check Variable Type and Value
by Aneel Maheshwari
This single operator tests variables for equivalency—both type and value—in one line.
Incrementing a C# Variable Efficiently
by Bashir Nabeel
Avoid postfix operators when incrementing composite objects.
Handle Null in JavaScript with the "||" Operator
by Srinath MS
Instead of using the ternary operator to handle a null value and set the default values, you can use the "||" operator.
Using the << and >> XQuery Operators
by Leonard Anghel
Find out how to use the << and >> XQuery operators.
Overloading the const and non-const Member Functions
by Prashanth Narayanaswamy
We all know about the function overloading feature in C++, which allows us to have the same name given for a function with different signatures. But what about overloading based on the const-ness of a member function?
The Sizeof() Operator Only Works at Compile Time
by Tony Madhur
The Sizeof () operator only works at compile time and doesn't evaluate anything at run time.
Object Functions in Use
by Arman Sahakyan
You can use an object function to find the first occurence of a string started by a given symbol in a vector.
Protect Smart Pointers by Providing Multiple Interfaces
by Vijai Kalyan
The standard way of designing smart pointers provides a mutable interface to the underlying objects--even though you might not want that. But you can protect the underlying objects by providing both a mutable and an immutable interface.
10 of 10     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date