title: Failed to hide the cursor in Console?
body: <pre><code>int main (void) 
  {
   //Get a console handle
   HWND myconsole = GetConsoleWindow();
  
   struct CONSOLE_CURSOR_INFO
   {
    DWORD dwSize;
    BOOL bVisible;
   };
   struct CONSOLE_CURSOR_INFO CURSOR;
  
   CURSOR.bVisible = FALSE;
   SetConsoleCursorInfo(myconsole, CURSOR);
  }
  </code></pre>
  
  <p>I want to hide the cursor in Console, but failed.</p>
  
  <p>What GCC-mingw32 reports are listed here:</p>
  
  <pre><code>error: request for member 'bVisible' in something not a structure or union
  error: incompatible type for argument 2 of 'SetConsoleCursorInfo'
  </code></pre>
  
  <p>Could  anyone help me?</p>
  
  <p>Thanks.</p>