One Method to be seen throughout the entire Project
<p>I have a question. I have a randomnumber function that I want to be available to all my classes.</p>

<p>In main,</p>

<p>I have the function</p>

<pre><code>int RandomRange(int min, int max)
{
    int newValue = (rand() % max) + min;

    if ( newValue &gt; max )
        newValue = max;
    if ( newValue &lt; min ) 
        newValue = min;

    return newValue;
}
</code></pre>

<p>But I want my classes to be able to use this function. How do I go about something like that? </p>
