11.07.2011, 00:52
Quote:
I seen in fuction this sign -
number >>= 4; I am look for more special signs like these....... and I am not find guide for these, can you give me? Thanks ![]() |
Edit Judging from your response about the bitwise AND operator, i think you need to read my binary topic even more :P.
The "&" symbol in front of the function parameters is called a reference. When a parameter is passed by reference the function is able to actually modify the variable's value outside of the function (meaning any changes to the parameter inside the function are kept (look at GetPlayerPos - thats how the function modifies the X,Y,Z variables we pass to it). Keep in mind that strings are naturally passed by reference, meaning if you pass a string it can be modified; in order to stop this use the keyword "const".
This is not a pointer like someone above me said.