this is what I have so far and I get an error: setw
was not declared in this scope
void grid (void)
{
for (int r = 0; r < 6; r++)
{
for (int c = 0; c < 6; c++)
{
cout << "-------------" << endl;
cout << "|" << setw(4) << r + 1 << setw(4) << "|" << endl;
cout << "-------------" << endl;
}
}
cout << "-------------------------------";
}