With this :
#include <stdio.h>
//#include <afx.h>
#include "DarkSDK.h"
void DarkSDK(void)
{
int a,b,c;
unsigned long d;
char text[128];
dbSyncOn();
dbSyncRate(0);
dbMakeObjectCube(1,10.0);
while (LoopSDK() && dbEscapeKey()==0)
{
dbRotateObject(1,
(float) (dbObjectAngleX(1)+0.1),
(float) (dbObjectAngleY(1)+0.1),
(float) (dbObjectAngleZ(1)+0.1));
for (a=1; a<=100; a++)
{
for (b=1; b<=100; b++)
{
for (c=1; c<=100; c++)
{
d=c*b*a;
}
}
}
dbSetCursor(0,0);
sprintf(text,"FPS = %d",dbScreenFPS());
dbPrint(text);
dbSync();
}
}
I get an average FPS of 314 on a Geforce4 MX P4 2.4Ghz machine