What does the followin way to write a parameter mean?
int CGame::iGetPlayerABSStatus(int iWhatH, int iRecvH, BOOL & bTransparentInvi)
This part: "BOOL & bTransparentInvi"
I took this from old source code of a visual 6.0 project.
What does the followin way to write a parameter mean?
int CGame::iGetPlayerABSStatus(int iWhatH, int iRecvH, BOOL & bTransparentInvi)
This part: "BOOL & bTransparentInvi"
I took this from old source code of a visual 6.0 project.
 
    
     
    
    It simply means argument bTransparentInvi is a reference to the BOOL data type.
Don't get confused with the placement of the & operator. It's the same as writing BOOL& bTransparentInvi.
 
    
    