19.02.2014, 12:40
Quote:
|
Ok, i have a single question if you can answer to me ...
In C++, there is an ampersand ( & ) that change the value of a variable when it returns it. My question, is .. how can i use that operator : Just look: C++ Код:
int return_ovalue ( int& x) { x = x; return x; } // it return the value and also change it... :)
Код:
stock SetVal(new& x) { x = x ;return x; } / the same thing as in c++
|
pawn Код:
stock SetVal(&x) { x= x; return x; }


