Omgili - forum search, search forums  
  

Discussions about operators

Displaying 1 - 10 out of 813,216 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Leisure/curiosity question as implied in the title. I personally prefer the new operators as to make code more readable in my opinion. Which ones do use yourself? What is your reason for choosing one over the other one? also Emacs highlights those operators...
Started by on , 7 posts by 7 people.  
Alternative tokens for logical (and not only logical....
To me, it just looks strange; very un-C-ish.
Reason: I coded in Perl for a while and the operators have different precedence that actually uses the alphabetic operators.
I use the old ones.
I wasn't aware of this, but apparently the and and or keywords aren't operators. They don't appear in the list of python operators . Just out of sheer curiosity, why is this? And if they aren't operators, what exactly are they?
Started by on , 7 posts by 7 people.  
They don't behave like operators, since operators always evaluate all of their arguments....
Specifically, it is not simply a matter of being reserved words .
Because they're control flow constructs.
The scope of the other operators.
I am currently creating a utility class that will have overloaded operators in it. What are the pros and cons of either making them member or non-member functions? Or does it matter at all? Maybe there is a best practice for this?
Started by on , 7 posts by 7 people.  
If you plan on implementing streaming operators (<, if you want to implement the....
Const A operator+(A& lhs, A& rhs) { A ret(lhs); ret += rhs; return ret; } For binary operators, one, then both of those statements will be legal.
Ask your Facebook Friends
What is the equivalent (in C#) of Java's >>> operator? Just to clarify, I'm not referring to the >> and << operators.
Started by on , 3 posts by 3 people.  
Since Java doesn't support unsigned.
The MSDN documentation on shift operators gives you the details.
Like VB has operators AndAlso and OrElse , that perform short-circuiting logical conjunction, where can equivalent operators be found in JS / AS?
Started by on , 3 posts by 3 people.  
From what I gather, JS and AS use.
The normal && and || operators do short circuit evaluation.
How would you implement logical operators in DOS Batch files?
Started by on , 4 posts by 4 people.  
Although the DOS If statement doesn't support logical operators (such as "AND" and "OR") you can state=asleep ) An alternative is to look for a unix shell which does give you logical operators.
How can I find the factorial of a number (from 1 to 10) in C, without using: loop statements like for, while, and do while; conditional operators like if and case; and arithmetic operators like + , − , * , % , /, ++, −−? FYI: I found this question in ...
Started by on , 16 posts by 15 people.  
#include <stdio.h> int add(int a, int operators, such as < and ....
Factorial(int x) { return precomputedArray[x]; } Produce a giant set of ternary operators returning operators involved.! trying if i could remove them too.
Is it possible to overload ++ operators in Python?
Started by on , 6 posts by 6 people.  
These are valid Python operators error) is that + and - are....
Only (a subset of) the operators that are allowed by the Python syntax (those operators that already have one or more uses in the language) may be overloaded.
In Python.
How to multiply a given number by 2 without using arithmetic operators in c language?
Started by on , 5 posts by 5 people.  
Just to extend.
List of operators and plenty of examples on wikipedia .
Of optimization to the compiler.
How to add 2 numbers without using + and bitwise operators?
Started by on , 3 posts by 3 people.  
I didn't even use array indexing, because that would require implicit pointer .
And logical operators.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
8830 OPER    operation    Operation flashpoint    operating on innodb    unlock by operator    Operating System    fix vista no operating system    normal intel operating temp    bus operator oyster card    how to operate a keg with pump   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost