title: Making a 6x6 grid with a 2d array
body: <p>this is what I have so far and I get an error: <code>setw</code> was not declared in this scope</p>
  
  <pre><code>void grid (void)
  {
      for (int r = 0; r &lt; 6; r++)
      {
          for (int c = 0; c &lt; 6; c++)
          {
              cout &lt;&lt; "-------------" &lt;&lt; endl;
              cout &lt;&lt; "|" &lt;&lt; setw(4) &lt;&lt; r + 1 &lt;&lt; setw(4) &lt;&lt; "|" &lt;&lt; endl;
              cout &lt;&lt; "-------------" &lt;&lt; endl;
          }
      }
      cout &lt;&lt; "-------------------------------";
  }
  </code></pre>