Hi,
how do u write a prototype of a function that passes by reference
and at the moment i have the definition asCode://function definition int playerLoss(int &playerMoney) { int x=45; return playerMoney-=x; }
I keep getting an error message saying:cannot convert parameter 1 from 'int *__w64 ' to 'int &'Code:int playerLoss( int & a );
Im using msvc express...