title: Draw on cmd using c++
body: <p>I'm trying to draw a chess board on the cmd screen - 64 squares, and a letter in each one, that symbolize the solider that in this place.
  After very long searching, I found a code that change the words color, but my question is how can I draw squares on the cmd? BLACK - WHITE and so on.
  This is the code I've found : </p>
  
  <pre><code>int main()
  {
  
      HANDLE hConsole;
      hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
  
      // Use the three primary colors for mixing any other color.
      // Use FOREGROUND_INTENSITY for brighter colors.
      SetConsoleTextAttribute
          (hConsole, FOREGROUND_RED | FOREGROUND_INTENSITY);
      cout &lt;&lt; "Bright red text\n";
  
      SetConsoleTextAttribute
          (hConsole, FOREGROUND_BLUE | FOREGROUND_INTENSITY);
      cout &lt;&lt; "Bright blue text\n";
  
      SetConsoleTextAttribute
          (hConsole, FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
      cout &lt;&lt; "Back to normal white text\n";
  
      // Wait for user pressing key before exiting
      // Gives them a chance to see the output
      cout &lt;&lt; "\n\nPress any key to exit program.....";
      cin.get();
  
      return 0;
  }
  </code></pre>
  
  <p>I'll be glad for some help.</p>