home *** CD-ROM | disk | FTP | other *** search
- // Example: 168 from Library Reference
- #include "..\3D-Ware\dddware.h"
- #include <stdio.h>
- short cpu;
- short main(void)
- {
- cpu = dddWhatCPU();
- if (cpu>=3)
- {
- printf("This PC has an 80%d86 CPU and therefore is good enough for 3D-Ware.\n",cpu);
- }
- else
- {
- puts("This PC is not powerful enough for the 3D-Ware code.");
- }
- return 0;
- }
-