Can anyone help me with a query? I need to use the passing by reference mechanism of c++ to pass back the results of a function. I am new to C++ and am having diffuculty achieving this. Does anyone have a snippit of code and a brief explanation on how it works?