home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Madness / VRMAD96_ONE.ISO / virtek / libex / libex052.c < prev    next >
C/C++ Source or Header  |  1995-08-24  |  297b  |  11 lines

  1.                        // Example: 052 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. short    mode;
  5. short  main(void)
  6. {
  7.   mode = dddGetMode(); // Get the current display mode number.
  8.   printf("This PC is currently in video mode 0x%X.\n",mode);
  9.   return 0;
  10. }
  11.