Hello all,
I'm relatively new to C++ (I know enough to read it, and code a little bit), but I'm stumped on a line of code I'm reading.
I'm trying to convert a part of a C++ program to PHP and just don't know what the heck the C++ means. Here's the C++ (a and val are variables):
I get the left/right shift and all that, but I haven't seen an assignment statement (I'm assuming it's an assignment) that looks like that before.
Thanks.
I'm relatively new to C++ (I know enough to read it, and code a little bit), but I'm stumped on a line of code I'm reading.
I'm trying to convert a part of a C++ program to PHP and just don't know what the heck the C++ means. Here's the C++ (a and val are variables):
Code:
( a += (val + e), a = a << val | a >> (5 - val), a += val )
I get the left/right shift and all that, but I haven't seen an assignment statement (I'm assuming it's an assignment) that looks like that before.
Thanks.