C++ code problem
<p>I am having some problem with this code. I am trying to display...
12345
12345
12345</p>

<p>but I am getting an error saying...</p>

<blockquote>
  <p>Error  1   error C3861: 'displayOneRowOfDesign1': identifier not found</p>
</blockquote>

<p>can anyone help?</p>

<pre><code>// displays (on the screen) design1 
void displayDesign1 ()
{
  system ("cls"); // clears the screen

  // the entire for loop displays all three rows 
  for (int r = 1; r &lt;= 3; r++)
  { // One iteration of the body of this loop displays row number r.
    // In other words, when r is 1, row 1 is displayed; 
    //                 when r is 2, row 2 is displayed; ...
    displayOneRowOfDesign1 ();
  }

} // displayDesign1  


// displays one row of design1; helper function to displayDesign1 
void displayOneRowOfDesign1 ()
{
  // the entire for loop displays all the columns of the row
  for (int c=1; c &lt;= 5; c++)
  { // One iteration of this loop displays the symbol in column c
    // In other is case, when c is 1, a 1 is displayed; 
    //                   when c is 2, a 2 is displayed; ...
    cout &lt;&lt; c;
  }

  cout &lt;&lt; endl; // wraps up the row 
                // by sending the cursor to the next row (line)

} // displayOneRowOfDesign1  
</code></pre>
