home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_10 / 8n10088a < prev    next >
Text File  |  1990-07-22  |  258b  |  19 lines

  1.  
  2. Listing 4:
  3.  
  4. /* Write to printer, using stdprn */
  5.  
  6. #include <stdio.h>
  7.  
  8. function()
  9.           {
  10.           int x, y, z;
  11.  
  12.           x = 5;
  13.           y = 6;
  14.           z = X + y;
  15.  
  16.           fprintf (stdprn, "The answer is %10d", z);
  17.           }
  18.  
  19.