home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex168.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
372b
|
18 lines
// 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;
}