Halaman

Minggu, 24 Juli 2011

C++ and Delphi bitwise operator

Converting Eh?
Operator name Syntax in C
Bitwise NOT ~a Yes
Bitwise AND a & b Yes
Bitwise OR a | b Yes
Bitwise XOR a ^ b Yes
Bitwise left shift a << b Yes
Bitwise right shift a >> b Yes
Hmm.. not a pretty sight :D
but there it is :
note : delphi shifting : "shl" and "shr"

Tidak ada komentar:

Posting Komentar