C++ simple program realization
<p>I need your help to get started with a good implementation thinking.</p>

<p>I need to create a simple program with the following:
1. A function with two parameters, first parameter is a name (char*), and the second parameter is the number of times you would like to print this name to the screen(int).
If the second parameter wasn't supplied in the function call, it should print the name 10 times.
If the first parameter wasn't supplied in the function call, it should print the author name / the writer of the program (i.e my name).</p>

<p>I was thinking to create the following function with default parameteres:</p>

<pre><code>void printTextToScreenNTimes(char * text = "guy", int n = 10);
</code></pre>

<p>This function implementation is the following :</p>

<pre><code>void printTextToScreenNTimes(char * text, int n) {
  int i;
  for (i = 0; i &lt; n; i++)
    cout &lt;&lt; text &lt;&lt; " ";

}
</code></pre>

<p>My problem arises as I try to print my default name 2 times. For example if I want only using the following function call: </p>

<pre><code>void printTextToScreenNTimes(3);
</code></pre>

<p>I would like the function to print the default name (in this case "guy") 3 times but It's impossible because I must fill the first parameter.</p>

<p>Do I have no choice but using a global parameter holding my name?</p>
