//Autor: Artur Czekalski (Sator)  www.epokaY.net/artur  artur@epokaY.net
#include "stdafx.h"
#include <math.h> //sin
#include <windows.h> //GetTickCount

int _tmain(int, _TCHAR* [])
{
 double w = 1.0;
 int i, czas;
 
 czas = GetTickCount();
 for (i=0; i < 50000000; ++i)
  w += sin(w);
 czas = GetTickCount() - czas;

 printf("w=%.20f\n", w);
 printf("Visual C++ 6.0: Czas=%d", czas);
 //---
 getchar();  return 0;
}