Taz bisounours-codeur | Chez moi ça marche ?
   Il te manque pas juste un #include ?
 Et soit gentil, prend un autre nom que "dos.h", sinon y a moyen que tu inclus malgré toi un autre.
  
  Code :
 - struct BYTEREGS {
 -   unsigned char  al, ah, bl, bh;
 -   unsigned char  cl, ch, dl, dh;
 - };
 - struct WORDREGS {
 -   unsigned int  ax, bx, cx, dx;
 -   unsigned int  si, di, cflag, flags;
 - };
 - union REGS {
 -   struct WORDREGS x;
 -   struct BYTEREGS h;
 - };
 - void int86(int, void*, void*);
 - void setcursor(int d, int f)
 - {
 -   union REGS registre;
 -   registre.h.ah=1;
 -   registre.h.ch=d;
 -   registre.h.cl=f;
 -   int86(0x10,®istre,®istre);
 - }
 
  |  
    |