I cannot find where the OR symbol is on the keyboard it looks like a || cut horizontally, but not a :
Printable View
I cannot find where the OR symbol is on the keyboard it looks like a || cut horizontally, but not a :
What OR keyboard symbol are you talking about? I know of no such thing. Logical OR in C is denoted by ||. That is two | char's, informally called a "pipe char" by some. More info on that character here: http://en.wikipedia.org/wiki/Vertical_bar
If you want a different answer you have to be more specific.
I didn't know vertical/pipe/broken bar ( |, ¦ ) those two equal the same thing?
On the wiki page it says that Broken bar (¦) is a separate character from |
Please clarify
I would say it depends on your keyboard and depends on your keyboard settings.
For my part, it's Shift+# (shift + the key left to character 1)
On my keyboard that symbol lives above the backslash symbol. Shift + \ (twice) gets me the 'OR'. cheers
Possibly this:
Cool thanks || it is
Lol, no it wasn't a joke :)
i wanted to know if there was a difference in using the | and ¦ in the purpose of writing the logical OR
Now you just need to find the any key.
Would that be an 'if any' key or an 'else any' key? :)