home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_06 / 2n06018c < prev    next >
Text File  |  1991-04-30  |  247b  |  13 lines

  1. #include <stdio.h>
  2. #include "snooper.h"
  3.  
  4. void set_xy(int x, int y)
  5. {
  6.     /* __BREAK() always prints current state of x, y */
  7.     __BREAK(__SCRN__,d_printf("x = %d, y = %d\n",x,y));
  8.     set_x(x);
  9.     set_y(y);
  10.  
  11.     /* continue ... */
  12. }
  13.