How to access member variables, from non member function within class C++
<p>I have created a class called "ShortestTime".  I have some functions within it that are not member functions, but I would like them to be able to access my member variables.<br>
ie. I have a function that sorts a List that is a public member variable, but it doesn't have access to this member variable.</p>

<p>I have read something about "friend" but was unable to get this to work.  How do I solve my problem?</p>

<p>Thanks for the help,</p>

<p>Robin</p>
