home *** CD-ROM | disk | FTP | other *** search
/ Computerspiele Selbermachen / computerspieleselbermachen.iso / play80 / icon.poc < prev    next >
Text File  |  1991-09-17  |  341b  |  23 lines

  1. //
  2. // quick and dirty poco to write an icon to the file icon.bin
  3. //
  4. //
  5. // if anyone tidies it up, please fax or send the changes to me
  6. //
  7.  
  8. main() {
  9. int x;
  10. int y;
  11. FILE *handle;
  12.  
  13.     handle = fopen("icon.bin","w");
  14.     for (y=0; y<32; y++) {
  15.         for (x=0; x<32; x++) {
  16.             fputc(GetDot(x,y), handle);
  17.         }
  18.     }
  19.     fclose(handle);
  20. }
  21.  
  22.  
  23.