home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / c / c_tutor / c_1 / cls < prev    next >
Encoding:
Text File  |  1992-11-14  |  183 b   |  14 lines

  1. #include <dos.h>
  2. cls()
  3. {
  4.  
  5.         union REGS REG;
  6.  
  7.         REG.x.ax=0x0600;
  8.         REG.h.bh=0x07;
  9.         REG.x.cx=0X0000;
  10.         REG.x.dx=0x184f;
  11.         int86(0x10,®,®);
  12.  
  13. }
  14.