title: gotoxy() function substitute for Dev C not working
body: <p>I was looking for a substitute of <code>gotoxy</code> for Dev C++ v5.11 (gcc compiler) and found this:</p>
  
  <pre><code>void gotoxy(int x,int y) {
      printf("%c[%d;%df", 0x1b, y, x);
  }
  </code></pre>
  
  <p>After this when I tried to call this function as follows:</p>
  
  <pre><code>int main() {
      gotoxy(20, 10);
      printf("Hello");
      return 0;
  }
  </code></pre>
  
  <p>Output was not as expected:</p>
  
  <pre><code>&lt;-[10;20fHello
  </code></pre>
  
  <p>This was printed in top left most corner of screen (i.e. 1,1)
  instead of (20,10).</p>
  
  <p>Please give me suggestions that what I can do to use <code>gotoxy</code> in my code.</p>