Computer Science 237 |
Lecture 4: Logical Operators, Binary Arithmetic, Signed Representations
Date: September 16, 2005
chmod 711 cs237
This allows turnin to change into your directory to be able to copy out the files.
Alternately, you can copy the files you wish to submit out to your home directory or other more public area, turn them in, then remove them.
==
, !
, !=
, &&
, ||
) - note short-circuit evaluation
&
) - result true when both operands true
|
) - result true when either operand true
^
) - result true when exactly one operand true
~
) - result true when operand false
+
) vs. bitwise XOR (^
).
x>>n
or x<<n
)