home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / ams__l~1.zoo / examples / ex1 / example1.cc < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-05  |  276 b   |  26 lines

  1. #include <Resolution.h>
  2. #include <Screen.h>
  3. #include <ScanCode.h>
  4.  
  5.  
  6. main()
  7. {
  8.     Resolution NowRez;
  9.  
  10.     if (NowRez!=STHigh)
  11.         STLow.Use();
  12.  
  13.     Screen S;
  14.  
  15.     if (NowRez==STHigh) {
  16.         S.Load("example1.ca3");
  17.     } else {
  18.         S.Load("example1.ca1");
  19.     }
  20.  
  21.     S.Show();
  22.     S.ShowPalette();
  23.  
  24.     Key();
  25. }
  26.