I have a pretty complicated program in which I need to pass by reference. But it seems I can't.

Rather than post the entire code of my complicated program, I wrote a much simpler program with the...