title: windows.h alternative for mac os
body: <p>Good morning,
  I am programming in Codeblock c program. However, I need use <strong>windows.h</strong> and <strong>conio.h</strong>. This header files are not on MacBook. Please, can you help me?  Source which doesn't work:</p>
  
  <pre><code>void gotoxy (int x, int y)
  {
      COORD coord; // coordinates
      coord.X = x; coord.Y = y; // X and Y coordinates
      SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
  }
  
  gotoxy(xn, yn);
  </code></pre>
  
  <p>Thank you for answer.</p>